home *** CD-ROM | disk | FTP | other *** search
MacBinary | 1994-09-13 | 1.6 MB | [STAK/WILD] |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: MacBinary
(archive/macBinary).
You can browse this item here: Yosemite™
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| dexvert
| HyperCard Stack (archive/hypercard)
| idMeta
| Supported |
10%
| dexvert
| MacBinary (archive/macBinary)
| fallback
| Supported |
100%
| file
| MacBinary II, inited, busy, Thu Jul 16 08:45:52 1992, modified Tue Sep 13 09:57:57 1994, creator HyperCard, type HyperCard stack, 51360 bytes "Yosemite�" , at 0xc920 1588043 bytes resource
| default (weak)
| |
99%
| file
| data
| default
| |
74%
| TrID
| Mac HyperCard stack (MacBinary)
| default
| |
25%
| TrID
| MacBinary 2
| default (weak)
| |
100%
| siegfried
| fmt/1762 MacBinary (II)
| default
| |
50%
| lsar
| MacBinary
| default
|
|
id metadata |
---|
key | value |
---|
macFileType | [STAK] |
macFileCreator | [WILD] |
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 09 59 6f 73 65 6d 69 | 74 65 aa 00 00 00 00 00 |..Yosemi|te......|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 05 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 00 c8 a0 00 | 18 3b 4b a6 8b 20 00 aa |........|.;K.. ..|
|00000060| 9b 60 65 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.`e.....|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 b8 0a 00 00 |........|........|
|00000080| 00 00 70 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..p.STAK|........|
|00000090| 00 00 00 0a 00 00 c8 a0 | 00 00 70 00 00 00 00 00 |........|..p.....|
|000000a0| 00 00 00 00 00 00 00 01 | 00 00 0a e2 00 00 00 01 |........|........|
|000000b0| 00 00 13 49 00 00 0f 36 | 00 00 00 00 00 00 00 00 |...I...6|........|
|000000c0| 00 00 17 72 00 00 00 00 | 00 05 00 00 10 00 00 00 |...r....|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 10 80 00 02 20 80 00 | 02 10 80 00 02 10 80 00 |..... ..|........|
|000000f0| 13 ef 21 ce 00 00 00 00 | 00 00 00 00 01 e0 02 80 |..!.....|........|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d ce 00 00 0c 43 | 01 e0 02 80 00 00 00 00 |.......C|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 00 00 0e 12 0e 12 1f 00 | 80 40 20 00 02 04 08 00 |........|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 4d 65 64 69 61 | 20 43 6c 69 70 73 aa 0d |-- Media| Clips..|
|00000690| 2d 2d 20 52 45 4c 45 41 | 53 45 20 76 2e 34 2e 33 |-- RELEA|SE v.4.3|
|000006a0| 2e 36 2c 20 39 2f 39 34 | 0d 0d 2d 2d 20 57 72 69 |.6, 9/94|..-- Wri|
|000006b0| 74 74 65 6e 20 62 79 20 | 42 69 6c 6c 20 44 61 77 |tten by |Bill Daw|
|000006c0| 73 6f 6e 20 61 6e 64 20 | 53 74 65 76 65 20 57 68 |son and |Steve Wh|
|000006d0| 61 6c 65 6e 20 66 6f 72 | 20 41 72 69 73 20 45 6e |alen for| Aris En|
|000006e0| 74 65 72 74 61 69 6e 6d | 65 6e 74 aa 0d 0d 2d 2d |tertainm|ent...--|
|000006f0| a5 20 45 78 74 65 72 6e | 61 6c 73 20 55 73 65 64 |. Extern|als Used|
|00000700| 20 49 6e 20 54 68 69 73 | 20 53 74 61 63 6b 0d 2d | In This| Stack.-|
|00000710| 2d 20 58 46 43 4e 0d 2d | 2d 20 46 69 6e 64 49 6e |- XFCN.-|- FindIn|
|00000720| 46 69 65 6c 64 2a 2c 46 | 69 6c 65 56 65 72 73 69 |Field*,F|ileVersi|
|00000730| 6f 6e 2a 2a 2c 47 65 74 | 44 69 72 2c 48 61 73 51 |on**,Get|Dir,HasQ|
|00000740| 54 2c 53 79 73 74 65 6d | 50 61 74 68 2a 2c 49 73 |T,System|Path*,Is|
|00000750| 46 69 6c 65 2a 2c 20 53 | 63 72 75 6e 63 68 2a 2a |File*, S|crunch**|
|00000760| 2a 2c 0d 2d 2d 20 43 44 | 44 72 69 76 65 4c 69 73 |*,.-- CD|DriveLis|
|00000770| 74 2a 2c 53 43 53 49 49 | 44 54 6f 4e 61 6d 65 2a |t*,SCSII|DToName*|
|00000780| 2c 46 6f 6c 64 65 72 50 | 61 74 68 2a 2c 46 6f 6c |,FolderP|ath*,Fol|
|00000790| 64 65 72 43 6f 6e 74 65 | 6e 74 73 2c 52 65 73 6f |derConte|nts,Reso|
|000007a0| 75 72 63 65 73 2a 2a 2a | 2c 43 68 61 6e 67 65 53 |urces***|,ChangeS|
|000007b0| 74 72 2c 52 65 73 46 69 | 6c 4f 70 65 6e 2c 0d 2d |tr,ResFi|lOpen,.-|
|000007c0| 2d 20 52 65 73 4e 61 6d | 45 78 69 73 74 73 2c 77 |- ResNam|Exists,w|
|000007d0| 73 47 65 74 2a 2a 2a 2c | 57 69 6e 64 6f 77 53 63 |sGet***,|WindowSc|
|000007e0| 72 69 70 74 2a 2a 2a 2c | 52 65 73 6f 75 72 63 65 |ript***,|Resource|
|000007f0| 4c 69 73 74 2a 2a 2a 2c | 53 63 72 65 65 6e 49 6e |List***,|ScreenIn|
|00000800| 66 6f 2a 2a 2a 2c 4e 65 | 77 46 69 6c 65 4e 61 6d |fo***,Ne|wFileNam|
|00000810| 65 2a 0d 0d 2d 2d 20 58 | 43 4d 44 0d 2d 2d 20 41 |e*..-- X|CMD.-- A|
|00000820| 62 6f 75 74 2a 2a 2c 43 | 6f 70 79 46 69 6c 65 2a |bout**,C|opyFile*|
|00000830| 2a 2a 2a 2a 2a 2c 54 65 | 78 74 6f 69 64 2a 2a 2a |*****,Te|xtoid***|
|00000840| 2a 2c 50 75 74 41 6c 65 | 72 74 2a 2a 2a 2a 2a 2c |*,PutAle|rt*****,|
|00000850| 50 49 43 54 54 6f 43 6c | 69 70 2a 2a 2a 2a 2c 46 |PICTToCl|ip****,F|
|00000860| 69 6e 64 49 6e 58 43 4d | 44 2a 2c 43 72 65 61 74 |indInXCM|D*,Creat|
|00000870| 65 46 6f 6c 64 65 72 2c | 0d 2d 2d 20 52 65 73 52 |eFolder,|.-- ResR|
|00000880| 65 6d 6f 76 65 2c 51 54 | 4d 6f 76 69 65 2a 2c 52 |emove,QT|Movie*,R|
|00000890| 65 73 46 69 6c 43 6c 6f | 73 65 2c 55 73 65 52 65 |esFilClo|se,UseRe|
|000008a0| 73 46 69 6c 2c 52 65 73 | 52 65 6e 61 6d 65 2c 43 |sFil,Res|Rename,C|
|000008b0| 6f 70 79 52 65 73 2c 77 | 73 53 65 6e 64 2a 2a 2a |opyRes,w|sSend***|
|000008c0| 2c 77 73 53 65 74 2a 2a | 2a 0d 0d 2d 2d 20 2a 20 |,wsSet**|*..-- * |
|000008d0| 20 20 20 20 20 a9 20 41 | 70 70 6c 65 20 43 6f 6d | . A|pple Com|
|000008e0| 70 75 74 65 72 2c 20 49 | 6e 63 2e 0d 2d 2d 20 2a |puter, I|nc..-- *|
|000008f0| 2a 20 20 20 20 20 a9 20 | 43 6f 70 79 72 69 67 68 |* . |Copyrigh|
|00000900| 74 20 31 39 38 38 20 2d | 20 39 30 20 62 79 20 4a |t 1988 -| 90 by J|
|00000910| 61 79 20 48 6f 64 67 64 | 6f 6e 2c 20 49 67 6e 61 |ay Hodgd|on, Igna|
|00000920| 74 7a 20 53 6f 66 74 77 | 61 72 65 0d 2d 2d 20 2a |tz Softw|are.-- *|
|00000930| 2a 2a 20 20 20 20 a9 20 | 48 65 69 7a 65 72 20 53 |** . |Heizer S|
|00000940| 6f 66 74 77 61 72 65 2c | 20 4c 65 65 20 42 75 63 |oftware,| Lee Buc|
|00000950| 6b 0d 2d 2d 20 2a 2a 2a | 2a 20 20 20 a9 20 46 72 |k.-- ***|* . Fr|
|00000960| 65 64 65 72 69 63 20 52 | 69 6e 61 6c 64 69 2c 20 |ederic R|inaldi, |
|00000970| 31 39 39 30 2c 31 39 39 | 31 0d 2d 2d 20 2a 2a 2a |1990,199|1.-- ***|
|00000980| 2a 2a 20 20 a9 20 31 39 | 38 39 20 62 79 20 53 2e |** . 19|89 by S.|
|00000990| 4b 6f 72 65 6e 20 26 20 | 43 4f 4d 7e 4c 49 4e 4b |Koren & |COM~LINK|
|000009a0| 0d 2d 2d 20 2a 2a 2a 2a | 2a 2a 20 a9 20 47 75 79 |.-- ****|** . Guy|
|000009b0| 20 64 65 20 50 69 63 63 | 69 6f 74 74 6f 0d 0d 2d | de Picc|iotto..-|
|000009c0| 2d a5 20 53 74 61 63 6b | 20 53 63 72 69 70 74 73 |-. Stack| Scripts|
|000009d0| 0d 6f 6e 20 6f 70 65 6e | 53 74 61 63 6b 0d 67 6c |.on open|Stack.gl|
|000009e0| 6f 62 61 6c 20 69 66 42 | 61 63 6b 67 72 6f 75 6e |obal ifB|ackgroun|
|000009f0| 64 2c 20 73 74 61 63 6b | 4f 70 65 6e 2c 20 74 68 |d, stack|Open, th|
|00000a00| 65 53 70 6c 61 73 68 2c | 20 67 55 73 65 72 4d 6f |eSplash,| gUserMo|
|00000a10| 64 65 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |de.set c|ursor to|
|00000a20| 20 77 61 74 63 68 0d 69 | 66 20 74 68 65 20 6f 70 | watch.i|f the op|
|00000a30| 74 69 6f 6e 4b 65 79 20 | 69 73 20 75 70 20 74 68 |tionKey |is up th|
|00000a40| 65 6e 20 2d 2d 20 48 6f | 6c 64 20 6f 70 74 69 6f |en -- Ho|ld optio|
|00000a50| 6e 4b 65 79 20 77 68 65 | 6e 20 6f 70 65 6e 69 6e |nKey whe|n openin|
|00000a60| 67 20 73 74 61 63 6b 20 | 74 6f 20 6d 61 69 6e 74 |g stack |to maint|
|00000a70| 61 69 6e 20 6d 65 6e 75 | 73 20 74 6f 20 63 6f 6d |ain menu|s to com|
|00000a80| 70 61 63 74 20 73 74 61 | 63 6b 2e 0d 73 65 6e 64 |pact sta|ck..send|
|00000a90| 20 64 65 6c 65 74 65 4d | 65 6e 75 73 20 74 6f 20 | deleteM|enus to |
|00000aa0| 62 61 63 6b 67 72 6f 75 | 6e 64 0d 65 6e 64 20 69 |backgrou|nd.end i|
|00000ab0| 66 0d 0d 69 66 20 28 74 | 68 65 20 76 65 72 73 69 |f..if (t|he versi|
|00000ac0| 6f 6e 20 3c 20 32 2e 31 | 29 20 74 68 65 6e 0d 61 |on < 2.1|) then.a|
|00000ad0| 6e 73 77 65 72 28 22 54 | 68 69 73 20 70 72 6f 67 |nswer("T|his prog|
|00000ae0| 72 61 6d 20 72 65 71 75 | 69 72 65 73 20 48 79 70 |ram requ|ires Hyp|
|00000af0| 65 72 43 61 72 64 20 6f | 72 20 48 79 70 65 72 43 |erCard o|r HyperC|
|00000b00| 61 72 64 20 50 6c 61 79 | 65 72 20 76 65 72 73 69 |ard Play|er versi|
|00000b10| 6f 6e 20 32 2e 31 20 6f | 72 20 68 69 67 68 65 72 |on 2.1 o|r higher|
|00000b20| 2e 22 29 20 77 69 74 68 | 20 22 4f 4b 22 0d 64 6f |.") with| "OK".do|
|00000b30| 4d 65 6e 75 20 22 51 75 | 69 74 20 48 79 70 65 72 |Menu "Qu|it Hyper|
|00000b40| 43 61 72 64 22 0d 65 78 | 69 74 20 6f 70 65 6e 53 |Card".ex|it openS|
|00000b50| 74 61 63 6b 0d 65 6e 64 | 20 69 66 0d 69 66 20 28 |tack.end| if.if (|
|00000b60| 74 68 65 20 68 65 61 70 | 73 70 61 63 65 20 3c 20 |the heap|space < |
|00000b70| 32 30 30 30 30 30 30 29 | 20 74 68 65 6e 0d 61 6e |2000000)| then.an|
|00000b80| 73 77 65 72 28 22 48 79 | 70 65 72 43 61 72 64 20 |swer("Hy|perCard |
|00000b90| 6d 61 79 20 6e 6f 74 20 | 68 61 76 65 20 65 6e 6f |may not |have eno|
|00000ba0| 75 67 68 20 52 41 4d 20 | 74 6f 20 70 6c 61 79 20 |ugh RAM |to play |
|00000bb0| 61 6c 6c 20 6f 66 20 74 | 68 65 20 73 6f 75 6e 64 |all of t|he sound|
|00000bc0| 73 2e 22 29 20 77 69 74 | 68 20 22 43 6f 6e 74 69 |s.") wit|h "Conti|
|00000bd0| 6e 75 65 22 20 6f 72 20 | 22 51 75 69 74 22 0d 69 |nue" or |"Quit".i|
|00000be0| 66 20 69 74 20 3d 20 22 | 51 75 69 74 22 20 74 68 |f it = "|Quit" th|
|00000bf0| 65 6e 0d 64 6f 4d 65 6e | 75 20 22 51 75 69 74 20 |en.doMen|u "Quit |
|00000c00| 48 79 70 65 72 43 61 72 | 64 22 0d 65 78 69 74 20 |HyperCar|d".exit |
|00000c10| 6f 70 65 6e 53 74 61 63 | 6b 0d 65 6e 64 20 69 66 |openStac|k.end if|
|00000c20| 0d 65 6e 64 20 69 66 0d | 0d 73 65 74 20 63 75 72 |.end if.|.set cur|
|00000c30| 73 6f 72 20 74 6f 20 77 | 61 74 63 68 0d 68 69 64 |sor to w|atch.hid|
|00000c40| 65 20 74 68 65 20 73 63 | 72 6f 6c 6c 20 77 69 6e |e the sc|roll win|
|00000c50| 64 6f 77 0d 73 65 74 20 | 74 68 65 20 63 61 6e 74 |dow.set |the cant|
|00000c60| 4d 6f 64 69 66 79 20 6f | 66 20 74 68 69 73 20 73 |Modify o|f this s|
|00000c70| 74 61 63 6b 20 74 6f 20 | 46 41 4c 53 45 0d 73 65 |tack to |FALSE.se|
|00000c80| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 74 68 |t the re|ct of th|
|00000c90| 69 73 20 63 61 72 64 20 | 74 6f 20 28 77 6f 72 64 |is card |to (word|
|00000ca0| 20 32 20 74 6f 20 35 20 | 6f 66 20 73 63 72 65 65 | 2 to 5 |of scree|
|00000cb0| 6e 49 6e 66 6f 28 4d 41 | 49 4e 29 29 0d 73 65 74 |nInfo(MA|IN)).set|
|00000cc0| 20 74 68 65 20 72 65 63 | 74 20 6f 66 20 74 68 65 | the rec|t of the|
|00000cd0| 20 63 61 72 64 20 77 69 | 6e 64 6f 77 20 74 6f 20 | card wi|ndow to |
|00000ce0| 28 77 6f 72 64 20 32 20 | 74 6f 20 35 20 6f 66 20 |(word 2 |to 5 of |
|00000cf0| 73 63 72 65 65 6e 49 6e | 66 6f 28 4d 41 49 4e 29 |screenIn|fo(MAIN)|
|00000d00| 29 0d 0d 73 65 6e 64 20 | 65 78 74 72 61 63 74 50 |)..send |extractP|
|00000d10| 72 65 66 73 20 74 6f 20 | 62 61 63 6b 67 72 6f 75 |refs to |backgrou|
|00000d20| 6e 64 20 2d 2d 20 4f 70 | 65 6e 73 20 66 69 6c 65 |nd -- Op|ens file|
|00000d30| 20 22 61 72 69 73 2e 70 | 72 65 66 73 22 20 61 6e | "aris.p|refs" an|
|00000d40| 64 20 70 75 74 73 20 70 | 72 65 66 73 20 69 6e 74 |d puts p|refs int|
|00000d50| 6f 20 67 6c 6f 62 61 6c | 20 76 61 72 73 2e 0d 69 |o global| vars..i|
|00000d60| 66 20 69 66 42 61 63 6b | 67 72 6f 75 6e 64 20 3d |f ifBack|ground =|
|00000d70| 20 54 52 55 45 20 74 68 | 65 6e 20 67 65 74 20 77 | TRUE th|en get w|
|00000d80| 69 6e 64 6f 77 53 63 72 | 69 70 74 28 22 42 6c 61 |indowScr|ipt("Bla|
|00000d90| 63 6b 6f 75 74 22 29 0d | 68 69 64 65 20 63 61 72 |ckout").|hide car|
|00000da0| 64 20 77 69 6e 64 6f 77 | 20 2d 2d 20 54 68 69 73 |d window| -- This|
|00000db0| 20 68 69 64 65 73 20 74 | 68 65 20 62 6c 61 63 6b | hides t|he black|
|00000dc0| 20 70 61 67 65 2c 20 62 | 75 74 20 77 69 6e 64 6f | page, b|ut windo|
|00000dd0| 77 20 22 42 6c 61 63 6b | 6f 75 74 22 20 69 73 20 |w "Black|out" is |
|00000de0| 61 6c 72 65 61 64 79 20 | 73 68 6f 77 69 6e 67 2e |already |showing.|
|00000df0| 0d 69 66 20 6c 61 73 74 | 20 69 74 65 6d 20 6f 66 |.if last| item of|
|00000e00| 20 73 63 72 65 65 6e 49 | 6e 66 6f 28 4d 41 49 4e | screenI|nfo(MAIN|
|00000e10| 29 20 3c 20 34 30 30 20 | 74 68 65 6e 0d 70 75 74 |) < 400 |then.put|
|00000e20| 20 22 53 70 6c 61 73 68 | 28 4c 43 29 22 69 6e 74 | "Splash|(LC)"int|
|00000e30| 6f 20 74 68 65 53 70 6c | 61 73 68 20 2d 2d 20 4c |o theSpl|ash -- L|
|00000e40| 43 0d 65 6c 73 65 0d 70 | 75 74 20 22 41 72 69 73 |C.else.p|ut "Aris|
|00000e50| 20 53 70 6c 61 73 68 22 | 20 69 6e 74 6f 20 74 68 | Splash"| into th|
|00000e60| 65 53 70 6c 61 73 68 0d | 65 6e 64 20 69 66 0d 70 |eSplash.|end if.p|
|00000e70| 69 63 74 75 72 65 20 74 | 68 65 53 70 6c 61 73 68 |icture t|heSplash|
|00000e80| 2c 72 65 73 6f 75 72 63 | 65 2c 64 69 61 6c 6f 67 |,resourc|e,dialog|
|00000e90| 0d 69 66 20 73 74 61 63 | 6b 4f 70 65 6e 20 ad 20 |.if stac|kOpen . |
|00000ea0| 54 52 55 45 20 74 68 65 | 6e 20 70 6c 61 79 20 22 |TRUE the|n play "|
|00000eb0| 61 72 69 73 2e 6c 6f 67 | 6f 22 0d 70 75 74 20 54 |aris.log|o".put T|
|00000ec0| 52 55 45 20 69 6e 74 6f | 20 73 74 61 63 6b 4f 70 |RUE into| stackOp|
|00000ed0| 65 6e 20 2d 2d 20 50 72 | 65 76 65 6e 74 73 20 73 |en -- Pr|events s|
|00000ee0| 6f 75 6e 64 20 66 72 6f | 6d 20 70 6c 61 79 69 6e |ound fro|m playin|
|00000ef0| 67 20 69 66 20 73 74 61 | 63 6b 4f 70 65 6e 20 69 |g if sta|ckOpen i|
|00000f00| 73 20 73 65 6e 74 20 61 | 67 61 69 6e 2e 0d 72 65 |s sent a|gain..re|
|00000f10| 70 65 61 74 20 75 6e 74 | 69 6c 20 74 68 65 20 73 |peat unt|il the s|
|00000f20| 6f 75 6e 64 20 69 73 20 | 22 64 6f 6e 65 22 0d 69 |ound is |"done".i|
|00000f30| 66 20 74 68 65 20 6d 6f | 75 73 65 63 6c 69 63 6b |f the mo|useclick|
|00000f40| 20 74 68 65 6e 0d 70 6c | 61 79 20 73 74 6f 70 0d | then.pl|ay stop.|
|00000f50| 65 78 69 74 20 72 65 70 | 65 61 74 0d 65 6e 64 20 |exit rep|eat.end |
|00000f60| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|00000f70| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00000f80| 6f 77 20 74 68 65 53 70 | 6c 61 73 68 20 74 68 65 |ow theSp|lash the|
|00000f90| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 74 |n close |window t|
|00000fa0| 68 65 53 70 6c 61 73 68 | 0d 0d 2d 2d 20 53 68 6f |heSplash|..-- Sho|
|00000fb0| 77 20 74 68 65 20 72 69 | 67 68 74 73 20 73 74 61 |w the ri|ghts sta|
|00000fc0| 74 65 6d 65 6e 74 2e 0d | 70 75 74 41 6c 65 72 74 |tement..|putAlert|
|00000fd0| 20 22 22 2c 31 32 38 20 | 2d 2d 20 52 69 67 68 74 | "",128 |-- Right|
|00000fe0| 73 20 61 67 72 65 65 6d | 65 6e 74 0d 69 66 20 74 |s agreem|ent.if t|
|00000ff0| 68 65 20 72 65 73 75 6c | 74 20 3d 20 32 20 74 68 |he resul|t = 2 th|
|00001000| 65 6e 20 2d 2d 20 22 45 | 78 69 74 20 50 72 6f 67 |en -- "E|xit Prog|
|00001010| 72 61 6d 22 0d 64 6f 4d | 65 6e 75 20 22 51 75 69 |ram".doM|enu "Qui|
|00001020| 74 20 48 79 70 65 72 43 | 61 72 64 22 0d 65 78 69 |t HyperC|ard".exi|
|00001030| 74 20 6f 70 65 6e 53 74 | 61 63 6b 0d 65 6c 73 65 |t openSt|ack.else|
|00001040| 20 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3d | if the |result =|
|00001050| 20 33 20 74 68 65 6e 20 | 2d 2d 20 22 55 73 61 67 | 3 then |-- "Usag|
|00001060| 65 20 47 75 69 64 65 6c | 69 6e 65 73 22 0d 70 69 |e Guidel|ines".pi|
|00001070| 63 74 75 72 65 20 22 55 | 73 61 67 65 20 47 75 69 |cture "U|sage Gui|
|00001080| 64 65 6c 69 6e 65 73 22 | 2c 72 65 73 6f 75 72 63 |delines"|,resourc|
|00001090| 65 2c 64 69 61 6c 6f 67 | 0d 77 61 69 74 20 75 6e |e,dialog|.wait un|
|000010a0| 74 69 6c 20 74 68 65 20 | 6d 6f 75 73 65 63 6c 69 |til the |mousecli|
|000010b0| 63 6b 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |ck.if th|ere is a|
|000010c0| 20 77 69 6e 64 6f 77 20 | 22 55 73 61 67 65 20 47 | window |"Usage G|
|000010d0| 75 69 64 65 6c 69 6e 65 | 73 22 20 74 68 65 6e 20 |uideline|s" then |
|000010e0| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 22 55 73 |close wi|ndow "Us|
|000010f0| 61 67 65 20 47 75 69 64 | 65 6c 69 6e 65 73 22 0d |age Guid|elines".|
|00001100| 65 6e 64 20 69 66 0d 0d | 73 65 74 20 63 75 72 73 |end if..|set curs|
|00001110| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 73 65 6e 64 |or to wa|tch.send|
|00001120| 20 64 6f 50 72 6f 67 72 | 65 73 73 20 74 6f 20 62 | doProgr|ess to b|
|00001130| 61 63 6b 67 72 6f 75 6e | 64 0d 70 75 74 20 22 42 |ackgroun|d.put "B|
|00001140| 72 6f 77 73 65 22 20 69 | 6e 74 6f 20 67 55 73 65 |rowse" i|nto gUse|
|00001150| 72 4d 6f 64 65 0d 73 68 | 6f 77 50 69 63 74 75 72 |rMode.sh|owPictur|
|00001160| 65 0d 65 6e 64 20 6f 70 | 65 6e 53 74 61 63 6b 0d |e.end op|enStack.|
|00001170| 0d 6f 6e 20 63 6c 65 61 | 6e 55 70 0d 6b 69 6c 6c |.on clea|nUp.kill|
|00001180| 4f 70 65 6e 57 69 6e 64 | 6f 77 73 0d 4b 69 6c 6c |OpenWind|ows.Kill|
|00001190| 41 62 6f 75 74 0d 6b 69 | 6c 6c 50 61 6c 65 74 74 |About.ki|llPalett|
|000011a0| 65 0d 63 6c 6f 73 65 50 | 61 6c 65 74 74 65 0d 2d |e.closeP|alette.-|
|000011b0| 2d 40 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |-@if the|re is a |
|000011c0| 6d 65 6e 75 20 22 41 72 | 69 73 aa 22 20 74 68 65 |menu "Ar|is." the|
|000011d0| 6e 20 64 65 6c 65 74 65 | 20 6d 65 6e 75 20 22 41 |n delete| menu "A|
|000011e0| 72 69 73 aa 22 0d 6c 6f | 63 6b 20 73 63 72 65 65 |ris.".lo|ck scree|
|000011f0| 6e 0d 70 69 63 74 75 72 | 65 20 22 47 6f 6f 64 62 |n.pictur|e "Goodb|
|00001200| 79 65 22 2c 72 65 73 6f | 75 72 63 65 2c 64 69 61 |ye",reso|urce,dia|
|00001210| 6c 6f 67 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |log.set |cursor t|
|00001220| 6f 20 77 61 74 63 68 0d | 77 61 69 74 20 32 20 73 |o watch.|wait 2 s|
|00001230| 65 63 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |ec.if th|ere is a|
|00001240| 20 77 69 6e 64 6f 77 20 | 22 47 6f 6f 64 62 79 65 | window |"Goodbye|
|00001250| 22 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |" then c|lose win|
|00001260| 64 6f 77 20 22 47 6f 6f | 64 62 79 65 22 0d 69 66 |dow "Goo|dbye".if|
|00001270| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00001280| 6f 77 20 22 42 6c 61 63 | 6b 6f 75 74 22 20 74 68 |ow "Blac|kout" th|
|00001290| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|000012a0| 22 42 6c 61 63 6b 6f 75 | 74 22 0d 73 68 6f 77 20 |"Blackou|t".show |
|000012b0| 63 64 20 77 69 6e 64 6f | 77 0d 65 6e 64 20 63 6c |cd windo|w.end cl|
|000012c0| 65 61 6e 55 70 0d 0d 6f | 6e 20 6b 69 6c 6c 4f 70 |eanUp..o|n killOp|
|000012d0| 65 6e 57 69 6e 64 6f 77 | 73 0d 67 6c 6f 62 61 6c |enWindow|s.global|
|000012e0| 20 70 69 63 74 75 72 65 | 4c 69 73 74 2c 20 63 68 | picture|List, ch|
|000012f0| 65 63 6b 50 49 43 54 2c | 20 74 68 65 4f 69 64 0d |eckPICT,| theOid.|
|00001300| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|00001310| 31 20 74 6f 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |1 to the| number |
|00001320| 6f 66 20 6c 69 6e 65 73 | 20 6f 66 20 70 69 63 74 |of lines| of pict|
|00001330| 75 72 65 4c 69 73 74 0d | 69 66 20 74 68 65 72 65 |ureList.|if there|
|00001340| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 28 6c 69 | is a wi|ndow (li|
|00001350| 6e 65 20 69 20 6f 66 20 | 70 69 63 74 75 72 65 4c |ne i of |pictureL|
|00001360| 69 73 74 29 20 74 68 65 | 6e 0d 69 66 20 6c 69 6e |ist) the|n.if lin|
|00001370| 65 20 69 20 6f 66 20 70 | 69 63 74 75 72 65 4c 69 |e i of p|ictureLi|
|00001380| 73 74 20 ad 20 22 42 6c | 61 63 6b 6f 75 74 22 20 |st . "Bl|ackout" |
|00001390| 74 68 65 6e 0d 69 66 20 | 74 68 65 72 65 20 69 73 |then.if |there is|
|000013a0| 20 61 20 77 69 6e 64 6f | 77 20 6c 69 6e 65 20 69 | a windo|w line i|
|000013b0| 20 6f 66 20 70 69 63 74 | 75 72 65 4c 69 73 74 20 | of pict|ureList |
|000013c0| 74 68 65 6e 0d 63 6c 6f | 73 65 20 77 69 6e 64 6f |then.clo|se windo|
|000013d0| 77 20 6c 69 6e 65 20 69 | 20 6f 66 20 70 69 63 74 |w line i| of pict|
|000013e0| 75 72 65 4c 69 73 74 0d | 65 6e 64 20 69 66 0d 65 |ureList.|end if.e|
|000013f0| 6e 64 20 69 66 0d 65 6e | 64 20 69 66 0d 65 6e 64 |nd if.en|d if.end|
|00001400| 20 72 65 70 65 61 74 0d | 69 66 20 74 68 65 72 65 | repeat.|if there|
|00001410| 20 69 73 20 61 20 77 69 | 6e 64 6f 77 20 74 68 65 | is a wi|ndow the|
|00001420| 4f 69 64 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |Oid then| close w|
|00001430| 69 6e 64 6f 77 20 74 68 | 65 4f 69 64 0d 70 75 74 |indow th|eOid.put|
|00001440| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 70 69 63 74 | empty i|nto pict|
|00001450| 75 72 65 4c 69 73 74 0d | 70 75 74 20 54 52 55 45 |ureList.|put TRUE|
|00001460| 20 69 6e 74 6f 20 63 68 | 65 63 6b 50 49 43 54 0d | into ch|eckPICT.|
|00001470| 65 6e 64 20 6b 69 6c 6c | 4f 70 65 6e 57 69 6e 64 |end kill|OpenWind|
|00001480| 6f 77 73 0d 2d 2d a5 20 | 50 69 63 74 75 72 65 73 |ows.--. |Pictures|
|00001490| 0d 6f 6e 20 6f 70 65 6e | 50 69 63 74 75 72 65 0d |.on open|Picture.|
|000014a0| 67 6c 6f 62 61 6c 20 77 | 69 6e 64 6f 77 4e 61 6d |global w|indowNam|
|000014b0| 65 2c 20 70 69 63 74 75 | 72 65 4c 69 73 74 0d 70 |e, pictu|reList.p|
|000014c0| 75 74 20 77 69 6e 64 6f | 77 4e 61 6d 65 20 26 20 |ut windo|wName & |
|000014d0| 72 65 74 75 72 6e 20 61 | 66 74 65 72 20 70 69 63 |return a|fter pic|
|000014e0| 74 75 72 65 4c 69 73 74 | 0d 65 6e 64 20 6f 70 65 |tureList|.end ope|
|000014f0| 6e 50 69 63 74 75 72 65 | 0d 0d 6f 6e 20 73 68 6f |nPicture|..on sho|
|00001500| 77 50 69 63 74 75 72 65 | 0d 67 6c 6f 62 61 6c 20 |wPicture|.global |
|00001510| 77 69 6e 64 6f 77 4e 61 | 6d 65 2c 20 70 44 65 70 |windowNa|me, pDep|
|00001520| 74 68 2c 20 70 53 69 7a | 65 2c 20 70 53 74 79 6c |th, pSiz|e, pStyl|
|00001530| 65 2c 20 61 6c 74 50 61 | 74 68 2c 20 6c 61 73 74 |e, altPa|th, last|
|00001540| 53 6e 64 2c 20 69 66 53 | 6f 75 6e 64 0d 69 66 20 |Snd, ifS|ound.if |
|00001550| 61 6c 74 50 61 74 68 20 | ad 20 65 6d 70 74 79 20 |altPath |. empty |
|00001560| 74 68 65 6e 0d 6b 69 6c | 6c 4f 70 65 6e 57 69 6e |then.kil|lOpenWin|
|00001570| 64 6f 77 73 0d 6b 69 6c | 6c 4f 70 65 6e 4d 6f 76 |dows.kil|lOpenMov|
|00001580| 69 65 73 0d 63 68 65 63 | 6b 42 69 74 44 65 70 74 |ies.chec|kBitDept|
|00001590| 68 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |h.set cu|rsor to |
|000015a0| 77 61 74 63 68 0d 67 65 | 74 20 28 6c 6f 63 61 74 |watch.ge|t (locat|
|000015b0| 65 46 28 29 20 26 20 70 | 44 65 70 74 68 20 26 20 |eF() & p|Depth & |
|000015c0| 70 53 69 7a 65 20 26 20 | 22 3a 22 20 26 20 77 69 |pSize & |":" & wi|
|000015d0| 6e 64 6f 77 4e 61 6d 65 | 29 0d 70 69 63 74 75 72 |ndowName|).pictur|
|000015e0| 65 20 69 74 2c 20 66 69 | 6c 65 2c 20 70 53 74 79 |e it, fi|le, pSty|
|000015f0| 6c 65 2c 20 66 61 6c 73 | 65 20 2d 2d 20 54 68 65 |le, fals|e -- The|
|00001600| 20 70 69 63 74 75 72 65 | 20 69 73 6e 27 74 20 76 | picture| isn't v|
|00001610| 69 73 69 62 6c 65 20 75 | 6e 74 69 6c 20 6c 61 74 |isible u|ntil lat|
|00001620| 65 72 2e 0d 2d 2d 40 69 | 66 20 76 69 73 69 62 6c |er..--@i|f visibl|
|00001630| 65 20 6f 66 20 6d 65 6e | 75 62 61 72 20 3d 20 22 |e of men|ubar = "|
|00001640| 66 61 6c 73 65 22 20 74 | 68 65 6e 20 2d 2d 20 4d |false" t|hen -- M|
|00001650| 61 6b 65 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |ake the |picture |
|00001660| 67 6f 20 75 70 20 74 6f | 20 74 68 65 20 74 6f 70 |go up to| the top|
|00001670| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 2e 0d | of the |screen..|
|00001680| 69 66 20 28 28 69 74 65 | 6d 20 33 20 6f 66 20 73 |if ((ite|m 3 of s|
|00001690| 63 72 65 65 6e 49 6e 66 | 6f 28 4d 41 49 4e 29 20 |creenInf|o(MAIN) |
|000016a0| 3d 20 35 31 32 29 20 6f | 72 20 28 69 74 65 6d 20 |= 512) o|r (item |
|000016b0| 33 20 6f 66 20 73 63 72 | 65 65 6e 49 6e 66 6f 28 |3 of scr|eenInfo(|
|000016c0| 4d 41 49 4e 29 20 3d 20 | 36 34 30 29 29 20 61 6e |MAIN) = |640)) an|
|000016d0| 64 20 28 70 53 69 7a 65 | 3d 22 22 29 20 74 68 65 |d (pSize|="") the|
|000016e0| 6e 20 2d 2d 20 57 65 27 | 72 65 20 73 68 6f 77 69 |n -- We'|re showi|
|000016f0| 6e 67 20 6c 61 72 67 65 | 20 70 69 63 74 75 72 65 |ng large| picture|
|00001700| 73 0d 2d 2d 20 6f 6e 20 | 61 20 73 63 72 65 65 6e |s.-- on |a screen|
|00001710| 20 74 68 61 74 20 69 73 | 20 65 69 74 68 65 72 20 | that is| either |
|00001720| 35 31 32 20 6f 72 20 36 | 34 30 20 70 69 78 65 6c |512 or 6|40 pixel|
|00001730| 73 20 77 69 64 65 0d 73 | 65 74 20 74 68 65 20 6c |s wide.s|et the l|
|00001740| 6f 63 20 6f 66 20 77 69 | 6e 64 6f 77 20 77 69 6e |oc of wi|ndow win|
|00001750| 64 6f 77 4e 61 6d 65 20 | 74 6f 20 6c 6f 63 20 6f |dowName |to loc o|
|00001760| 66 20 63 61 72 64 20 77 | 69 6e 64 6f 77 0d 73 65 |f card w|indow.se|
|00001770| 74 20 74 68 65 20 72 65 | 63 74 20 6f 66 20 77 69 |t the re|ct of wi|
|00001780| 6e 64 6f 77 20 77 69 6e | 64 6f 77 4e 61 6d 65 20 |ndow win|dowName |
|00001790| 74 6f 20 72 65 63 74 20 | 6f 66 20 63 61 72 64 20 |to rect |of card |
|000017a0| 77 69 6e 64 6f 77 0d 65 | 6e 64 20 69 66 0d 2d 2d |window.e|nd if.--|
|000017b0| 40 65 6e 64 20 69 66 0d | 0d 69 66 20 74 68 65 20 |@end if.|.if the |
|000017c0| 63 68 65 63 6b 4d 61 72 | 6b 20 6f 66 20 6d 65 6e |checkMar|k of men|
|000017d0| 75 49 74 65 6d 20 22 50 | 69 63 74 75 72 65 20 49 |uItem "P|icture I|
|000017e0| 6e 66 6f 22 20 6f 66 20 | 6d 65 6e 75 20 22 4f 70 |nfo" of |menu "Op|
|000017f0| 74 69 6f 6e 73 22 20 74 | 68 65 6e 20 64 6f 41 62 |tions" t|hen doAb|
|00001800| 6f 75 74 0d 69 66 20 69 | 66 53 6f 75 6e 64 20 74 |out.if i|fSound t|
|00001810| 68 65 6e 0d 70 6c 61 79 | 53 6f 75 6e 64 0d 65 6e |hen.play|Sound.en|
|00001820| 64 20 69 66 0d 65 6c 73 | 65 0d 6c 69 73 74 44 69 |d if.els|e.listDi|
|00001830| 72 0d 65 6e 64 20 69 66 | 0d 63 68 65 63 6b 57 69 |r.end if|.checkWi|
|00001840| 6e 64 6f 77 0d 65 6e 64 | 20 73 68 6f 77 50 69 63 |ndow.end| showPic|
|00001850| 74 75 72 65 0d 0d 6f 6e | 20 63 6c 6f 73 65 50 69 |ture..on| closePi|
|00001860| 63 74 75 72 65 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |cture wi|ndowName|
|00001870| 0d 67 6c 6f 62 61 6c 20 | 77 69 6e 64 6f 77 4e 61 |.global |windowNa|
|00001880| 6d 65 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |me.if th|ere is a|
|00001890| 20 77 69 6e 64 6f 77 20 | 77 69 6e 64 6f 77 4e 61 | window |windowNa|
|000018a0| 6d 65 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |me then |close wi|
|000018b0| 6e 64 6f 77 20 77 69 6e | 64 6f 77 4e 61 6d 65 0d |ndow win|dowName.|
|000018c0| 63 68 65 63 6b 77 69 6e | 64 6f 77 0d 65 6e 64 20 |checkwin|dow.end |
|000018d0| 63 6c 6f 73 65 50 69 63 | 74 75 72 65 0d 0d 6f 6e |closePic|ture..on|
|000018e0| 20 6d 6f 75 73 65 44 6f | 77 6e 49 6e 50 69 63 74 | mouseDo|wnInPict|
|000018f0| 75 72 65 0d 67 6c 6f 62 | 61 6c 20 74 68 65 53 70 |ure.glob|al theSp|
|00001900| 6c 61 73 68 0d 69 66 20 | 74 68 65 72 65 20 69 73 |lash.if |there is|
|00001910| 20 61 20 77 69 6e 64 6f | 77 20 74 68 65 53 70 6c | a windo|w theSpl|
|00001920| 61 73 68 20 74 68 65 6e | 0d 68 69 64 65 20 77 69 |ash then|.hide wi|
|00001930| 6e 64 6f 77 20 74 68 65 | 53 70 6c 61 73 68 0d 63 |ndow the|Splash.c|
|00001940| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 74 68 65 53 |lose win|dow theS|
|00001950| 70 6c 61 73 68 0d 73 68 | 6f 77 50 69 63 74 75 72 |plash.sh|owPictur|
|00001960| 65 0d 65 6e 64 20 69 66 | 0d 77 61 69 74 20 31 30 |e.end if|.wait 10|
|00001970| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |.if the |mouseCli|
|00001980| 63 6b 20 74 68 65 6e 20 | 64 6f 5a 6f 6f 6d 0d 65 |ck then |doZoom.e|
|00001990| 6e 64 20 6d 6f 75 73 65 | 44 6f 77 6e 49 6e 50 69 |nd mouse|DownInPi|
|000019a0| 63 74 75 72 65 0d 2d 2d | a5 20 4d 65 6e 75 73 0d |cture.--|. Menus.|
|000019b0| 6f 6e 20 63 72 65 61 74 | 65 4d 65 6e 75 0d 69 66 |on creat|eMenu.if|
|000019c0| 20 74 68 65 72 65 20 69 | 73 20 61 20 6d 65 6e 75 | there i|s a menu|
|000019d0| 20 22 4f 70 74 69 6f 6e | 73 22 20 74 68 65 6e 20 | "Option|s" then |
|000019e0| 65 78 69 74 20 63 72 65 | 61 74 65 4d 65 6e 75 0d |exit cre|ateMenu.|
|000019f0| 63 72 65 61 74 65 20 6d | 65 6e 75 20 22 46 69 6c |create m|enu "Fil|
|00001a00| 65 22 0d 70 75 74 20 22 | 51 75 69 74 22 20 26 20 |e".put "|Quit" & |
|00001a10| 72 65 74 75 72 6e 20 69 | 6e 74 6f 20 6d 65 6e 75 |return i|nto menu|
|00001a20| 20 22 46 69 6c 65 22 0d | 63 72 65 61 74 65 20 6d | "File".|create m|
|00001a30| 65 6e 75 20 22 4f 70 74 | 69 6f 6e 73 22 0d 70 75 |enu "Opt|ions".pu|
|00001a40| 74 20 63 72 65 61 74 65 | 4d 65 6e 75 49 74 65 6d |t create|MenuItem|
|00001a50| 73 28 29 20 69 6e 74 6f | 20 6d 65 6e 75 20 22 4f |s() into| menu "O|
|00001a60| 70 74 69 6f 6e 73 22 0d | 69 66 20 74 68 65 72 65 |ptions".|if there|
|00001a70| 20 69 73 20 61 20 6d 65 | 6e 75 20 22 45 64 69 74 | is a me|nu "Edit|
|00001a80| 22 20 74 68 65 6e 0d 69 | 66 20 6c 61 73 74 20 6d |" then.i|f last m|
|00001a90| 65 6e 75 49 74 65 6d 20 | 6f 66 20 6d 65 6e 75 20 |enuItem |of menu |
|00001aa0| 22 45 64 69 74 22 20 3d | 20 22 49 63 6f 6e 2e 2e |"Edit" =| "Icon..|
|00001ab0| 2e 22 20 74 68 65 6e 0d | 73 65 74 20 63 6f 6d 6d |." then.|set comm|
|00001ac0| 61 6e 64 43 68 61 72 20 | 6f 66 20 6c 61 73 74 20 |andChar |of last |
|00001ad0| 6d 65 6e 75 49 74 65 6d | 20 6f 66 20 6d 65 6e 75 |menuItem| of menu|
|00001ae0| 20 22 45 64 69 74 22 20 | 74 6f 20 22 22 20 2d 2d | "Edit" |to "" --|
|00001af0| 20 52 65 6d 6f 76 65 20 | 43 6f 6d 6d 61 6e 64 2d | Remove |Command-|
|00001b00| 49 20 6f 70 74 69 6f 6e | 2e 0d 65 6e 64 20 69 66 |I option|..end if|
|00001b10| 0d 65 6e 64 20 69 66 0d | 73 65 74 20 74 68 65 20 |.end if.|set the |
|00001b20| 63 6f 6d 6d 61 6e 64 43 | 68 61 72 20 6f 66 20 6d |commandC|har of m|
|00001b30| 65 6e 75 49 74 65 6d 20 | 31 20 6f 66 20 6d 65 6e |enuItem |1 of men|
|00001b40| 75 20 22 46 69 6c 65 22 | 20 74 6f 20 22 51 22 0d |u "File"| to "Q".|
|00001b50| 73 65 74 20 74 68 65 20 | 63 6f 6d 6d 61 6e 64 43 |set the |commandC|
|00001b60| 68 61 72 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |har of m|enuItem |
|00001b70| 32 20 6f 66 20 6d 65 6e | 75 20 22 4f 70 74 69 6f |2 of men|u "Optio|
|00001b80| 6e 73 22 20 74 6f 20 22 | 39 22 0d 73 65 74 20 74 |ns" to "|9".set t|
|00001b90| 68 65 20 63 6f 6d 6d 61 | 6e 64 43 68 61 72 20 6f |he comma|ndChar o|
|00001ba0| 66 20 6d 65 6e 75 49 74 | 65 6d 20 33 20 6f 66 20 |f menuIt|em 3 of |
|00001bb0| 6d 65 6e 75 20 22 4f 70 | 74 69 6f 6e 73 22 20 74 |menu "Op|tions" t|
|00001bc0| 6f 20 22 49 22 0d 65 6e | 64 20 63 72 65 61 74 65 |o "I".en|d create|
|00001bd0| 4d 65 6e 75 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 63 |Menu..fu|nction c|
|00001be0| 72 65 61 74 65 4d 65 6e | 75 49 74 65 6d 73 0d 72 |reateMen|uItems.r|
|00001bf0| 65 74 75 72 6e 20 22 53 | 6f 75 6e 64 22 20 26 20 |eturn "S|ound" & |
|00001c00| 72 65 74 75 72 6e 20 26 | 20 c2 0d 22 50 61 6c 65 |return &| .."Pale|
|00001c10| 74 74 65 22 20 26 20 72 | 65 74 75 72 6e 20 26 20 |tte" & r|eturn & |
|00001c20| c2 0d 22 50 69 63 74 75 | 72 65 20 49 6e 66 6f 22 |.."Pictu|re Info"|
|00001c30| 20 26 20 72 65 74 75 72 | 6e 20 26 20 c2 0d 22 2d | & retur|n & .."-|
|00001c40| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00001c50| 50 72 65 66 65 72 65 6e | 63 65 73 2e 2e 2e 22 20 |Preferen|ces..." |
|00001c60| 26 20 72 65 74 75 72 6e | 20 26 20 c2 0d 22 48 65 |& return| & .."He|
|00001c70| 6c 70 2e 2e 2e 22 20 26 | 20 72 65 74 75 72 6e 0d |lp..." &| return.|
|00001c80| 65 6e 64 20 63 72 65 61 | 74 65 4d 65 6e 75 49 74 |end crea|teMenuIt|
|00001c90| 65 6d 73 0d 0d 6f 6e 20 | 64 6f 4d 65 6e 75 20 77 |ems..on |doMenu w|
|00001ca0| 68 69 63 68 4d 65 6e 75 | 0d 67 6c 6f 62 61 6c 20 |hichMenu|.global |
|00001cb0| 69 66 53 6f 75 6e 64 2c | 20 69 66 49 6e 66 6f 2c |ifSound,| ifInfo,|
|00001cc0| 20 75 73 65 41 6c 74 50 | 61 74 68 2c 20 61 6c 74 | useAltP|ath, alt|
|00001cd0| 50 61 74 68 2c 70 61 6c | 65 74 74 65 4e 61 6d 65 |Path,pal|etteName|
|00001ce0| 2c 20 67 55 73 65 72 4d | 6f 64 65 0d 69 66 20 77 |, gUserM|ode.if w|
|00001cf0| 68 69 63 68 4d 65 6e 75 | 20 3d 20 22 53 6f 75 6e |hichMenu| = "Soun|
|00001d00| 64 22 20 74 68 65 6e 0d | 69 66 20 74 68 65 20 63 |d" then.|if the c|
|00001d10| 68 65 63 6b 6d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckmark| of menu|
|00001d20| 49 74 65 6d 20 22 53 6f | 75 6e 64 22 20 6f 66 20 |Item "So|und" of |
|00001d30| 6d 65 6e 75 20 22 4f 70 | 74 69 6f 6e 73 22 20 3d |menu "Op|tions" =|
|00001d40| 20 46 41 4c 53 45 20 74 | 68 65 6e 0d 73 65 74 20 | FALSE t|hen.set |
|00001d50| 74 68 65 20 63 68 65 63 | 6b 6d 61 72 6b 20 6f 66 |the chec|kmark of|
|00001d60| 20 6d 65 6e 75 49 74 65 | 6d 20 22 53 6f 75 6e 64 | menuIte|m "Sound|
|00001d70| 22 20 6f 66 20 6d 65 6e | 75 20 22 4f 70 74 69 6f |" of men|u "Optio|
|00001d80| 6e 73 22 20 74 6f 20 54 | 52 55 45 0d 70 75 74 20 |ns" to T|RUE.put |
|00001d90| 54 52 55 45 20 69 6e 74 | 6f 20 69 66 53 6f 75 6e |TRUE int|o ifSoun|
|00001da0| 64 0d 70 6c 61 79 53 6f | 75 6e 64 0d 65 6c 73 65 |d.playSo|und.else|
|00001db0| 0d 73 65 74 20 74 68 65 | 20 63 68 65 63 6b 6d 61 |.set the| checkma|
|00001dc0| 72 6b 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |rk of me|nuItem "|
|00001dd0| 53 6f 75 6e 64 22 20 6f | 66 20 6d 65 6e 75 20 22 |Sound" o|f menu "|
|00001de0| 4f 70 74 69 6f 6e 73 22 | 20 74 6f 20 46 41 4c 53 |Options"| to FALS|
|00001df0| 45 0d 70 75 74 20 46 41 | 4c 53 45 20 69 6e 74 6f |E.put FA|LSE into|
|00001e00| 20 69 66 53 6f 75 6e 64 | 0d 65 6e 64 20 69 66 0d | ifSound|.end if.|
|00001e10| 65 6c 73 65 20 69 66 20 | 77 68 69 63 68 4d 65 6e |else if |whichMen|
|00001e20| 75 20 3d 20 22 50 61 6c | 65 74 74 65 22 20 74 68 |u = "Pal|ette" th|
|00001e30| 65 6e 0d 69 66 20 74 68 | 65 20 63 68 65 63 6b 6d |en.if th|e checkm|
|00001e40| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00001e50| 22 50 61 6c 65 74 74 65 | 22 20 6f 66 20 6d 65 6e |"Palette|" of men|
|00001e60| 75 20 22 4f 70 74 69 6f | 6e 73 22 20 3d 20 46 41 |u "Optio|ns" = FA|
|00001e70| 4c 53 45 20 74 68 65 6e | 0d 63 72 65 61 74 65 50 |LSE then|.createP|
|00001e80| 61 6c 65 74 74 65 0d 65 | 6c 73 65 0d 6b 69 6c 6c |alette.e|lse.kill|
|00001e90| 50 61 6c 65 74 74 65 0d | 65 6e 64 20 69 66 0d 65 |Palette.|end if.e|
|00001ea0| 6c 73 65 20 69 66 20 77 | 68 69 63 68 4d 65 6e 75 |lse if w|hichMenu|
|00001eb0| 20 3d 20 22 50 69 63 74 | 75 72 65 20 49 6e 66 6f | = "Pict|ure Info|
|00001ec0| 22 20 74 68 65 6e 0d 69 | 66 20 74 68 65 20 63 68 |" then.i|f the ch|
|00001ed0| 65 63 6b 6d 61 72 6b 20 | 6f 66 20 6d 65 6e 75 49 |eckmark |of menuI|
|00001ee0| 74 65 6d 20 22 50 69 63 | 74 75 72 65 20 49 6e 66 |tem "Pic|ture Inf|
|00001ef0| 6f 22 20 6f 66 20 6d 65 | 6e 75 20 22 4f 70 74 69 |o" of me|nu "Opti|
|00001f00| 6f 6e 73 22 20 3d 20 46 | 41 4c 53 45 20 74 68 65 |ons" = F|ALSE the|
|00001f10| 6e 0d 73 65 74 20 74 68 | 65 20 63 68 65 63 6b 6d |n.set th|e checkm|
|00001f20| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00001f30| 22 50 69 63 74 75 72 65 | 20 49 6e 66 6f 22 20 6f |"Picture| Info" o|
|00001f40| 66 20 6d 65 6e 75 20 22 | 4f 70 74 69 6f 6e 73 22 |f menu "|Options"|
|00001f50| 20 74 6f 20 54 52 55 45 | 0d 70 75 74 20 54 52 55 | to TRUE|.put TRU|
|00001f60| 45 20 69 6e 74 6f 20 69 | 66 49 6e 66 6f 0d 64 6f |E into i|fInfo.do|
|00001f70| 41 62 6f 75 74 0d 65 6c | 73 65 0d 73 65 74 20 74 |About.el|se.set t|
|00001f80| 68 65 20 63 68 65 63 6b | 6d 61 72 6b 20 6f 66 20 |he check|mark of |
|00001f90| 6d 65 6e 75 49 74 65 6d | 20 22 50 69 63 74 75 72 |menuItem| "Pictur|
|00001fa0| 65 20 49 6e 66 6f 22 20 | 6f 66 20 6d 65 6e 75 20 |e Info" |of menu |
|00001fb0| 22 4f 70 74 69 6f 6e 73 | 22 20 74 6f 20 46 41 4c |"Options|" to FAL|
|00001fc0| 53 45 0d 70 75 74 20 46 | 41 4c 53 45 20 69 6e 74 |SE.put F|ALSE int|
|00001fd0| 6f 20 69 66 49 6e 66 6f | 0d 64 6f 41 62 6f 75 74 |o ifInfo|.doAbout|
|00001fe0| 0d 65 6e 64 20 69 66 0d | 65 6c 73 65 20 69 66 20 |.end if.|else if |
|00001ff0| 77 68 69 63 68 4d 65 6e | 75 20 3d 20 22 50 72 65 |whichMen|u = "Pre|
|00002000| 66 65 72 65 6e 63 65 73 | 2e 2e 2e 22 20 74 68 65 |ferences|..." the|
|00002010| 6e 0d 73 65 6e 64 20 73 | 68 6f 77 50 72 65 66 73 |n.send s|howPrefs|
|00002020| 20 74 6f 20 63 61 72 64 | 0d 65 6c 73 65 20 69 66 | to card|.else if|
|00002030| 20 77 68 69 63 68 4d 65 | 6e 75 20 3d 20 22 48 65 | whichMe|nu = "He|
|00002040| 6c 70 2e 2e 2e 22 20 74 | 68 65 6e 0d 70 75 74 41 |lp..." t|hen.putA|
|00002050| 6c 65 72 74 20 22 22 2c | 31 30 38 20 2d 2d 20 50 |lert "",|108 -- P|
|00002060| 61 6c 65 74 74 65 20 48 | 65 6c 70 0d 69 66 20 74 |alette H|elp.if t|
|00002070| 68 65 20 72 65 73 75 6c | 74 20 3d 20 32 20 74 68 |he resul|t = 2 th|
|00002080| 65 6e 0d 70 75 74 41 6c | 65 72 74 20 22 22 2c 31 |en.putAl|ert "",1|
|00002090| 30 35 20 2d 2d 20 4d 65 | 6e 75 20 48 65 6c 70 0d |05 -- Me|nu Help.|
|000020a0| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3d 20 |if the r|esult = |
|000020b0| 32 20 74 68 65 6e 20 64 | 6f 4d 65 6e 75 20 22 48 |2 then d|oMenu "H|
|000020c0| 65 6c 70 2e 2e 2e 22 0d | 65 6e 64 20 69 66 0d 65 |elp...".|end if.e|
|000020d0| 6c 73 65 20 69 66 20 77 | 68 69 63 68 4d 65 6e 75 |lse if w|hichMenu|
|000020e0| 20 3d 20 22 43 6f 6d 70 | 61 63 74 20 53 74 61 63 | = "Comp|act Stac|
|000020f0| 6b 22 20 74 68 65 6e 0d | 6b 69 6c 6c 50 61 6c 65 |k" then.|killPale|
|00002100| 74 74 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |tte.if t|here is |
|00002110| 61 20 77 69 6e 64 6f 77 | 20 22 42 6c 61 63 6b 6f |a window| "Blacko|
|00002120| 75 74 22 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |ut" then| close w|
|00002130| 69 6e 64 6f 77 20 22 42 | 6c 61 63 6b 6f 75 74 22 |indow "B|lackout"|
|00002140| 0d 70 61 73 73 20 64 6f | 4d 65 6e 75 0d 65 6c 73 |.pass do|Menu.els|
|00002150| 65 20 69 66 20 77 68 69 | 63 68 4d 65 6e 75 20 3d |e if whi|chMenu =|
|00002160| 20 22 41 62 6f 75 74 20 | 48 79 70 65 72 63 61 72 | "About |Hypercar|
|00002170| 64 2e 2e 2e 22 20 74 68 | 65 6e 0d 70 75 74 20 67 |d..." th|en.put g|
|00002180| 55 73 65 72 4d 6f 64 65 | 20 69 6e 74 6f 20 76 4d |UserMode| into vM|
|00002190| 6f 64 65 48 6f 6c 64 65 | 72 0d 0d 63 68 61 6e 67 |odeHolde|r..chang|
|000021a0| 65 55 73 65 72 4d 6f 64 | 65 20 22 41 62 6f 75 74 |eUserMod|e "About|
|000021b0| 4d 43 22 0d 73 65 6e 64 | 20 63 68 65 63 6b 43 6f |MC".send| checkCo|
|000021c0| 6c 6f 72 20 74 6f 20 62 | 61 63 6b 67 72 6f 75 6e |lor to b|ackgroun|
|000021d0| 64 0d 0d 2d 2d 20 53 68 | 6f 77 20 43 72 65 64 69 |d..-- Sh|ow Credi|
|000021e0| 74 73 20 53 63 72 65 65 | 6e 0d 70 75 74 20 22 41 |ts Scree|n.put "A|
|000021f0| 72 69 73 20 43 72 65 64 | 69 74 73 22 20 69 6e 74 |ris Cred|its" int|
|00002200| 6f 20 74 68 65 43 72 65 | 64 69 74 73 0d 70 69 63 |o theCre|dits.pic|
|00002210| 74 75 72 65 20 74 68 65 | 43 72 65 64 69 74 73 2c |ture the|Credits,|
|00002220| 72 65 73 6f 75 72 63 65 | 2c 64 69 61 6c 6f 67 0d |resource|,dialog.|
|00002230| 69 66 20 74 68 65 20 72 | 65 73 75 6c 74 20 3d 20 |if the r|esult = |
|00002240| 22 22 20 74 68 65 6e 0d | 77 61 69 74 20 75 6e 74 |"" then.|wait unt|
|00002250| 69 6c 20 74 68 65 20 6d | 6f 75 73 65 63 6c 69 63 |il the m|ouseclic|
|00002260| 6b 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |k.if the|re is a |
|00002270| 77 69 6e 64 6f 77 20 74 | 68 65 43 72 65 64 69 74 |window t|heCredit|
|00002280| 73 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |s then c|lose win|
|00002290| 64 6f 77 20 74 68 65 43 | 72 65 64 69 74 73 0d 65 |dow theC|redits.e|
|000022a0| 6e 64 20 69 66 0d 0d 2d | 2d 20 53 68 6f 77 20 43 |nd if..-|- Show C|
|000022b0| 6f 76 65 72 20 53 63 72 | 65 65 6e 0d 69 66 20 6c |over Scr|een.if l|
|000022c0| 61 73 74 20 69 74 65 6d | 20 6f 66 20 73 63 72 65 |ast item| of scre|
|000022d0| 65 6e 49 6e 66 6f 28 4d | 41 49 4e 29 20 3c 20 34 |enInfo(M|AIN) < 4|
|000022e0| 30 30 20 74 68 65 6e 0d | 70 75 74 20 22 53 70 6c |00 then.|put "Spl|
|000022f0| 61 73 68 28 4c 43 29 22 | 69 6e 74 6f 20 74 68 65 |ash(LC)"|into the|
|00002300| 53 70 6c 61 73 68 20 2d | 2d 20 4c 43 0d 65 6c 73 |Splash -|- LC.els|
|00002310| 65 0d 70 75 74 20 22 41 | 72 69 73 20 53 70 6c 61 |e.put "A|ris Spla|
|00002320| 73 68 22 20 69 6e 74 6f | 20 74 68 65 53 70 6c 61 |sh" into| theSpla|
|00002330| 73 68 0d 65 6e 64 20 69 | 66 0d 0d 70 69 63 74 75 |sh.end i|f..pictu|
|00002340| 72 65 20 74 68 65 53 70 | 6c 61 73 68 2c 72 65 73 |re theSp|lash,res|
|00002350| 6f 75 72 63 65 2c 64 69 | 61 6c 6f 67 0d 69 66 20 |ource,di|alog.if |
|00002360| 74 68 65 20 72 65 73 75 | 6c 74 20 3d 20 22 22 20 |the resu|lt = "" |
|00002370| 74 68 65 6e 0d 77 61 69 | 74 20 75 6e 74 69 6c 20 |then.wai|t until |
|00002380| 74 68 65 20 6d 6f 75 73 | 65 63 6c 69 63 6b 0d 69 |the mous|eclick.i|
|00002390| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|000023a0| 64 6f 77 20 74 68 65 53 | 70 6c 61 73 68 20 74 68 |dow theS|plash th|
|000023b0| 65 6e 20 63 6c 6f 73 65 | 20 77 69 6e 64 6f 77 20 |en close| window |
|000023c0| 74 68 65 53 70 6c 61 73 | 68 0d 65 6e 64 20 69 66 |theSplas|h.end if|
|000023d0| 0d 63 68 61 6e 67 65 55 | 73 65 72 4d 6f 64 65 20 |.changeU|serMode |
|000023e0| 76 4d 6f 64 65 48 6f 6c | 64 65 72 0d 0d 65 6c 73 |vModeHol|der..els|
|000023f0| 65 20 69 66 20 77 68 69 | 63 68 4d 65 6e 75 20 3d |e if whi|chMenu =|
|00002400| 20 22 46 69 6e 64 2e 2e | 2e 22 20 74 68 65 6e 20 | "Find..|." then |
|00002410| 67 6f 46 69 6e 64 0d 65 | 6c 73 65 20 69 66 20 77 |goFind.e|lse if w|
|00002420| 68 69 63 68 4d 65 6e 75 | 20 3d 20 22 46 69 72 73 |hichMenu| = "Firs|
|00002430| 74 22 20 74 68 65 6e 0d | 73 68 6f 77 46 69 72 73 |t" then.|showFirs|
|00002440| 74 0d 65 6c 73 65 20 69 | 66 20 77 68 69 63 68 4d |t.else i|f whichM|
|00002450| 65 6e 75 20 3d 20 22 4e | 65 78 74 22 20 74 68 65 |enu = "N|ext" the|
|00002460| 6e 0d 73 68 6f 77 4e 65 | 78 74 0d 65 6c 73 65 20 |n.showNe|xt.else |
|00002470| 69 66 20 77 68 69 63 68 | 4d 65 6e 75 20 3d 20 22 |if which|Menu = "|
|00002480| 50 72 65 76 22 20 74 68 | 65 6e 0d 73 68 6f 77 50 |Prev" th|en.showP|
|00002490| 72 65 76 0d 65 6c 73 65 | 20 69 66 20 77 68 69 63 |rev.else| if whic|
|000024a0| 68 4d 65 6e 75 20 3d 20 | 22 4c 61 73 74 22 20 74 |hMenu = |"Last" t|
|000024b0| 68 65 6e 0d 73 68 6f 77 | 4c 61 73 74 0d 65 6c 73 |hen.show|Last.els|
|000024c0| 65 20 69 66 20 77 68 69 | 63 68 4d 65 6e 75 20 3d |e if whi|chMenu =|
|000024d0| 20 22 51 75 69 74 20 48 | 79 70 65 72 63 61 72 64 | "Quit H|ypercard|
|000024e0| 22 20 74 68 65 6e 0d 69 | 66 20 74 68 65 72 65 20 |" then.i|f there |
|000024f0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 22 4d 6f 76 |is a win|dow "Mov|
|00002500| 69 65 20 50 69 63 6b 65 | 72 22 20 74 68 65 6e 20 |ie Picke|r" then |
|00002510| 73 65 6e 64 20 63 6c 6f | 73 65 20 74 6f 20 77 69 |send clo|se to wi|
|00002520| 6e 64 6f 77 20 22 4d 6f | 76 69 65 20 50 69 63 6b |ndow "Mo|vie Pick|
|00002530| 65 72 22 0d 63 6c 65 61 | 6e 55 70 0d 70 61 73 73 |er".clea|nUp.pass|
|00002540| 20 64 6f 4d 65 6e 75 0d | 65 6c 73 65 20 69 66 20 | doMenu.|else if |
|00002550| 77 68 69 63 68 4d 65 6e | 75 20 3d 20 22 51 75 69 |whichMen|u = "Qui|
|00002560| 74 22 20 74 68 65 6e 0d | 64 6f 4d 65 6e 75 20 22 |t" then.|doMenu "|
|00002570| 51 75 69 74 20 48 79 70 | 65 72 63 61 72 64 22 0d |Quit Hyp|ercard".|
|00002580| 65 6c 73 65 20 70 61 73 | 73 20 64 6f 4d 65 6e 75 |else pas|s doMenu|
|00002590| 0d 65 6e 64 20 64 6f 4d | 65 6e 75 0d 6f 6e 20 6d |.end doM|enu.on m|
|000025a0| 61 6b 65 41 62 6f 75 74 | 0d 41 62 6f 75 74 20 22 |akeAbout|.About "|
|000025b0| 41 62 6f 75 74 20 54 68 | 69 73 20 50 72 6f 67 72 |About Th|is Progr|
|000025c0| 61 6d 2e 2e 2e 22 0d 65 | 6e 64 20 6d 61 6b 65 41 |am...".e|nd makeA|
|000025d0| 62 6f 75 74 0d 6f 6e 20 | 4b 69 6c 6c 41 62 6f 75 |bout.on |KillAbou|
|000025e0| 74 0d 41 62 6f 75 74 20 | 22 41 62 6f 75 74 20 48 |t.About |"About H|
|000025f0| 79 70 65 72 63 61 72 64 | 2e 2e 2e 22 0d 65 6e 64 |ypercard|...".end|
|00002600| 20 6b 69 6c 6c 41 62 6f | 75 74 0d 2d 2d a5 20 50 | killAbo|ut.--. P|
|00002610| 61 6c 65 74 74 65 0d 6f | 6e 20 63 72 65 61 74 65 |alette.o|n create|
|00002620| 50 61 6c 65 74 74 65 20 | 2d 2d 20 43 61 6c 6c 65 |Palette |-- Calle|
|00002630| 64 20 62 79 20 64 6f 4d | 65 6e 75 2c 20 70 6c 61 |d by doM|enu, pla|
|00002640| 79 53 6f 75 6e 64 2c 20 | 73 6c 69 64 65 53 68 6f |ySound, |slideSho|
|00002650| 77 2c 20 64 6f 50 72 6f | 67 72 65 73 73 2c 20 73 |w, doPro|gress, s|
|00002660| 77 69 74 63 68 50 61 6c | 65 74 74 65 0d 67 6c 6f |witchPal|ette.glo|
|00002670| 62 61 6c 20 70 61 6c 65 | 74 74 65 4e 61 6d 65 2c |bal pale|tteName,|
|00002680| 70 4c 6f 63 0d 73 65 74 | 20 63 68 65 63 6b 6d 61 |pLoc.set| checkma|
|00002690| 72 6b 20 6f 66 20 6d 65 | 6e 75 49 74 65 6d 20 22 |rk of me|nuItem "|
|000026a0| 50 61 6c 65 74 74 65 22 | 20 6f 66 20 6d 65 6e 75 |Palette"| of menu|
|000026b0| 20 22 4f 70 74 69 6f 6e | 73 22 20 74 6f 20 54 52 | "Option|s" to TR|
|000026c0| 55 45 0d 67 65 74 20 46 | 6f 6c 64 65 72 43 6f 6e |UE.get F|olderCon|
|000026d0| 74 65 6e 74 73 28 6c 6f | 63 61 74 65 46 28 22 4d |tents(lo|cateF("M|
|000026e0| 6f 76 69 65 73 22 29 20 | 26 20 22 4d 6f 76 69 65 |ovies") |& "Movie|
|000026f0| 73 3a 22 2c 66 69 6c 65 | 73 2c 22 6e 6f 44 69 61 |s:",file|s,"noDia|
|00002700| 6c 6f 67 22 29 0d 69 66 | 20 69 74 20 63 6f 6e 74 |log").if| it cont|
|00002710| 61 69 6e 73 20 22 53 6f | 72 72 79 22 20 6f 72 20 |ains "So|rry" or |
|00002720| 69 74 20 69 73 20 65 6d | 70 74 79 20 6f 72 20 68 |it is em|pty or h|
|00002730| 61 73 51 54 28 29 20 3d | 20 46 41 4c 53 45 20 74 |asQT() =| FALSE t|
|00002740| 68 65 6e 20 2d 2d 20 49 | 66 20 74 68 65 72 65 20 |hen -- I|f there |
|00002750| 61 72 65 20 6e 6f 20 6d | 6f 76 69 65 73 2e 0d 70 |are no m|ovies..p|
|00002760| 75 74 20 22 77 73 50 61 | 6c 65 74 74 65 53 4d 22 |ut "wsPa|letteSM"|
|00002770| 20 69 6e 74 6f 20 70 61 | 6c 65 74 74 65 4e 61 6d | into pa|letteNam|
|00002780| 65 20 2d 2d 20 53 68 6f | 77 20 70 61 6c 65 74 74 |e -- Sho|w palett|
|00002790| 65 20 77 2f 6f 75 74 20 | 70 72 6f 6a 65 63 74 6f |e w/out |projecto|
|000027a0| 72 20 69 63 6f 6e 2e 0d | 65 6c 73 65 0d 70 75 74 |r icon..|else.put|
|000027b0| 20 22 77 73 50 61 6c 65 | 74 74 65 22 20 69 6e 74 | "wsPale|tte" int|
|000027c0| 6f 20 70 61 6c 65 74 74 | 65 4e 61 6d 65 20 2d 2d |o palett|eName --|
|000027d0| 20 53 68 6f 77 20 70 61 | 6c 65 74 74 65 20 77 2f | Show pa|lette w/|
|000027e0| 20 70 72 6f 6a 65 63 74 | 6f 72 20 69 63 6f 6e 2e | project|or icon.|
|000027f0| 0d 65 6e 64 20 69 66 0d | 69 66 20 70 4c 6f 63 20 |.end if.|if pLoc |
|00002800| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 0d 69 66 20 |= empty |then.if |
|00002810| 70 61 6c 65 74 74 65 4e | 61 6d 65 20 63 6f 6e 74 |paletteN|ame cont|
|00002820| 61 69 6e 73 20 22 53 6d | 22 20 74 68 65 6e 0d 70 |ains "Sm|" then.p|
|00002830| 75 74 20 28 69 74 65 6d | 20 33 20 6f 66 20 74 68 |ut (item| 3 of th|
|00002840| 65 20 73 63 72 65 65 6e | 72 65 63 74 20 2d 20 34 |e screen|rect - 4|
|00002850| 30 36 29 2f 32 20 26 20 | 22 2c 22 20 26 20 69 74 |06)/2 & |"," & it|
|00002860| 65 6d 20 34 20 6f 66 20 | 74 68 65 20 73 63 72 65 |em 4 of |the scre|
|00002870| 65 6e 72 65 63 74 20 2d | 20 35 33 20 69 6e 74 6f |enrect -| 53 into|
|00002880| 20 70 4c 6f 63 0d 65 6c | 73 65 20 70 75 74 20 28 | pLoc.el|se put (|
|00002890| 69 74 65 6d 20 33 20 6f | 66 20 74 68 65 20 73 63 |item 3 o|f the sc|
|000028a0| 72 65 65 6e 72 65 63 74 | 20 2d 20 34 34 30 29 2f |reenrect| - 440)/|
|000028b0| 32 20 26 20 22 2c 22 20 | 26 20 69 74 65 6d 20 34 |2 & "," |& item 4|
|000028c0| 20 6f 66 20 74 68 65 20 | 73 63 72 65 65 6e 72 65 | of the |screenre|
|000028d0| 63 74 20 2d 20 35 33 20 | 69 6e 74 6f 20 70 4c 6f |ct - 53 |into pLo|
|000028e0| 63 0d 65 6e 64 20 69 66 | 0d 69 66 20 74 68 65 72 |c.end if|.if ther|
|000028f0| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 70 61 |e is a w|indow pa|
|00002900| 6c 65 74 74 65 4e 61 6d | 65 20 74 68 65 6e 0d 73 |letteNam|e then.s|
|00002910| 68 6f 77 20 77 69 6e 64 | 6f 77 20 70 61 6c 65 74 |how wind|ow palet|
|00002920| 74 65 4e 61 6d 65 0d 65 | 6c 73 65 0d 67 65 74 20 |teName.e|lse.get |
|00002930| 77 69 6e 64 6f 77 53 63 | 72 69 70 74 28 70 61 6c |windowSc|ript(pal|
|00002940| 65 74 74 65 4e 61 6d 65 | 20 26 20 72 65 74 75 72 |etteName| & retur|
|00002950| 6e 20 26 20 22 69 30 5f | 54 6f 70 4c 65 66 74 3a |n & "i0_|TopLeft:|
|00002960| 22 20 26 20 70 4c 6f 63 | 29 0d 65 6e 64 20 69 66 |" & pLoc|).end if|
|00002970| 0d 65 6e 64 20 63 72 65 | 61 74 65 50 61 6c 65 74 |.end cre|atePalet|
|00002980| 74 65 0d 0d 6f 6e 20 63 | 68 65 63 6b 57 69 6e 64 |te..on c|heckWind|
|00002990| 6f 77 0d 67 6c 6f 62 61 | 6c 20 77 69 6e 64 6f 77 |ow.globa|l window|
|000029a0| 4e 61 6d 65 0d 69 66 20 | 74 68 65 72 65 20 69 73 |Name.if |there is|
|000029b0| 20 61 20 77 69 6e 64 6f | 77 20 62 6c 61 63 6b 6f | a windo|w blacko|
|000029c0| 75 74 20 74 68 65 6e 20 | 77 73 53 65 6e 64 20 42 |ut then |wsSend B|
|000029d0| 6c 61 63 6b 6f 75 74 2c | 30 2c 22 73 65 6e 64 74 |lackout,|0,"sendt|
|000029e0| 6f 62 61 63 6b 22 0d 69 | 66 20 74 68 65 72 65 20 |oback".i|f there |
|000029f0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |is a win|dow wind|
|00002a00| 6f 77 4e 61 6d 65 20 74 | 68 65 6e 20 73 68 6f 77 |owName t|hen show|
|00002a10| 20 77 69 6e 64 6f 77 20 | 77 69 6e 64 6f 77 4e 61 | window |windowNa|
|00002a20| 6d 65 0d 65 6e 64 20 63 | 68 65 63 6b 57 69 6e 64 |me.end c|heckWind|
|00002a30| 6f 77 0d 0d 6f 6e 20 6b | 69 6c 6c 50 61 6c 65 74 |ow..on k|illPalet|
|00002a40| 74 65 0d 67 6c 6f 62 61 | 6c 20 70 61 6c 65 74 74 |te.globa|l palett|
|00002a50| 65 4e 61 6d 65 0d 69 66 | 20 74 68 65 72 65 20 69 |eName.if| there i|
|00002a60| 73 20 61 20 77 69 6e 64 | 6f 77 20 70 61 6c 65 74 |s a wind|ow palet|
|00002a70| 74 65 4e 61 6d 65 20 74 | 68 65 6e 20 63 6c 6f 73 |teName t|hen clos|
|00002a80| 65 20 77 69 6e 64 6f 77 | 20 70 61 6c 65 74 74 65 |e window| palette|
|00002a90| 4e 61 6d 65 0d 69 66 20 | 74 68 65 72 65 20 69 73 |Name.if |there is|
|00002aa0| 20 61 20 6d 65 6e 75 49 | 74 65 6d 20 22 50 61 6c | a menuI|tem "Pal|
|00002ab0| 65 74 74 65 22 20 6f 66 | 20 6d 65 6e 75 20 22 4f |ette" of| menu "O|
|00002ac0| 70 74 69 6f 6e 73 22 20 | 74 68 65 6e 0d 73 65 74 |ptions" |then.set|
|00002ad0| 20 63 68 65 63 6b 6d 61 | 72 6b 20 6f 66 20 6d 65 | checkma|rk of me|
|00002ae0| 6e 75 49 74 65 6d 20 22 | 50 61 6c 65 74 74 65 22 |nuItem "|Palette"|
|00002af0| 20 6f 66 20 6d 65 6e 75 | 20 22 4f 70 74 69 6f 6e | of menu| "Option|
|00002b00| 73 22 20 74 6f 20 46 41 | 4c 53 45 0d 65 6e 64 20 |s" to FA|LSE.end |
|00002b10| 69 66 0d 65 6e 64 20 6b | 69 6c 6c 50 61 6c 65 74 |if.end k|illPalet|
|00002b20| 74 65 0d 6f 6e 20 6f 70 | 65 6e 50 61 6c 65 74 74 |te.on op|enPalett|
|00002b30| 65 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |e.if the|re is a |
|00002b40| 6d 65 6e 75 49 74 65 6d | 20 22 50 61 6c 65 74 74 |menuItem| "Palett|
|00002b50| 65 22 20 6f 66 20 6d 65 | 6e 75 20 22 4f 70 74 69 |e" of me|nu "Opti|
|00002b60| 6f 6e 73 22 20 74 68 65 | 6e 0d 73 65 74 20 74 68 |ons" the|n.set th|
|00002b70| 65 20 63 68 65 63 6b 6d | 61 72 6b 20 6f 66 20 6d |e checkm|ark of m|
|00002b80| 65 6e 75 49 74 65 6d 20 | 22 50 61 6c 65 74 74 65 |enuItem |"Palette|
|00002b90| 22 20 6f 66 20 6d 65 6e | 75 20 22 4f 70 74 69 6f |" of men|u "Optio|
|00002ba0| 6e 73 22 20 74 6f 20 54 | 52 55 45 0d 65 6e 64 20 |ns" to T|RUE.end |
|00002bb0| 69 66 0d 65 6e 64 20 6f | 70 65 6e 50 61 6c 65 74 |if.end o|penPalet|
|00002bc0| 74 65 0d 6f 6e 20 63 6c | 6f 73 65 50 61 6c 65 74 |te.on cl|osePalet|
|00002bd0| 74 65 0d 67 6c 6f 62 61 | 6c 20 70 4c 6f 63 2c 70 |te.globa|l pLoc,p|
|00002be0| 61 6c 65 74 74 65 4e 61 | 6d 65 0d 69 66 20 74 68 |aletteNa|me.if th|
|00002bf0| 65 72 65 20 69 73 20 61 | 20 77 69 6e 64 6f 77 20 |ere is a| window |
|00002c00| 70 61 6c 65 74 74 65 4e | 61 6d 65 20 74 68 65 6e |paletteN|ame then|
|00002c10| 0d 70 75 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |.put the| loc of |
|00002c20| 77 69 6e 64 6f 77 20 70 | 61 6c 65 74 74 65 4e 61 |window p|aletteNa|
|00002c30| 6d 65 20 69 6e 74 6f 20 | 70 4c 6f 63 0d 65 6e 64 |me into |pLoc.end|
|00002c40| 20 69 66 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 | if.if t|here is |
|00002c50| 61 20 6d 65 6e 75 49 74 | 65 6d 20 22 50 61 6c 65 |a menuIt|em "Pale|
|00002c60| 74 74 65 22 20 6f 66 20 | 6d 65 6e 75 20 22 4f 70 |tte" of |menu "Op|
|00002c70| 74 69 6f 6e 73 22 20 74 | 68 65 6e 0d 73 65 74 20 |tions" t|hen.set |
|00002c80| 74 68 65 20 63 68 65 63 | 6b 6d 61 72 6b 20 6f 66 |the chec|kmark of|
|00002c90| 20 6d 65 6e 75 49 74 65 | 6d 20 22 50 61 6c 65 74 | menuIte|m "Palet|
|00002ca0| 74 65 22 20 6f 66 20 6d | 65 6e 75 20 22 4f 70 74 |te" of m|enu "Opt|
|00002cb0| 69 6f 6e 73 22 20 74 6f | 20 46 41 4c 53 45 0d 65 |ions" to| FALSE.e|
|00002cc0| 6e 64 20 69 66 0d 65 6e | 64 20 63 6c 6f 73 65 50 |nd if.en|d closeP|
|00002cd0| 61 6c 65 74 74 65 0d 66 | 75 6e 63 74 69 6f 6e 20 |alette.f|unction |
|00002ce0| 69 66 50 61 6c 65 74 74 | 65 0d 67 6c 6f 62 61 6c |ifPalett|e.global|
|00002cf0| 20 70 61 6c 65 74 74 65 | 4e 61 6d 65 0d 69 66 20 | palette|Name.if |
|00002d00| 74 68 65 72 65 20 69 73 | 20 61 20 77 69 6e 64 6f |there is| a windo|
|00002d10| 77 20 70 61 6c 65 74 74 | 65 4e 61 6d 65 20 74 68 |w palett|eName th|
|00002d20| 65 6e 0d 72 65 74 75 72 | 6e 20 54 52 55 45 0d 65 |en.retur|n TRUE.e|
|00002d30| 6c 73 65 20 72 65 74 75 | 72 6e 20 46 41 4c 53 45 |lse retu|rn FALSE|
|00002d40| 0d 65 6e 64 20 69 66 50 | 61 6c 65 74 74 65 0d 2d |.end ifP|alette.-|
|00002d50| 2d a5 20 50 61 6c 65 74 | 74 65 20 48 61 6e 64 6c |-. Palet|te Handl|
|00002d60| 65 72 73 0d 6f 6e 20 73 | 68 6f 77 46 69 72 73 74 |ers.on s|howFirst|
|00002d70| 0d 67 6c 6f 62 61 6c 20 | 70 4c 69 73 74 2c 20 77 |.global |pList, w|
|00002d80| 69 6e 64 6f 77 4e 61 6d | 65 2c 20 74 68 65 4f 69 |indowNam|e, theOi|
|00002d90| 64 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |d.if the|re is a |
|00002da0| 77 69 6e 64 6f 77 20 77 | 69 6e 64 6f 77 4e 61 6d |window w|indowNam|
|00002db0| 65 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |e then c|lose win|
|00002dc0| 64 6f 77 20 77 69 6e 64 | 6f 77 4e 61 6d 65 0d 69 |dow wind|owName.i|
|00002dd0| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00002de0| 64 6f 77 20 74 68 65 4f | 69 64 20 74 68 65 6e 20 |dow theO|id then |
|00002df0| 63 6c 6f 73 65 20 77 69 | 6e 64 6f 77 20 74 68 65 |close wi|ndow the|
|00002e00| 4f 69 64 0d 6c 69 73 74 | 44 69 72 0d 70 75 74 20 |Oid.list|Dir.put |
|00002e10| 6c 69 6e 65 20 31 20 6f | 66 20 70 4c 69 73 74 20 |line 1 o|f pList |
|00002e20| 69 6e 74 6f 20 77 69 6e | 64 6f 77 4e 61 6d 65 0d |into win|dowName.|
|00002e30| 73 68 6f 77 50 69 63 74 | 75 72 65 0d 65 6e 64 20 |showPict|ure.end |
|00002e40| 73 68 6f 77 46 69 72 73 | 74 0d 6f 6e 20 73 68 6f |showFirs|t.on sho|
|00002e50| 77 50 72 65 76 0d 67 6c | 6f 62 61 6c 20 70 4c 69 |wPrev.gl|obal pLi|
|00002e60| 73 74 2c 20 77 69 6e 64 | 6f 77 4e 61 6d 65 2c 20 |st, wind|owName, |
|00002e70| 74 68 65 4f 69 64 0d 69 | 66 20 74 68 65 72 65 20 |theOid.i|f there |
|00002e80| 69 73 20 61 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |is a win|dow wind|
|00002e90| 6f 77 4e 61 6d 65 20 74 | 68 65 6e 20 63 6c 6f 73 |owName t|hen clos|
|00002ea0| 65 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |e window| windowN|
|00002eb0| 61 6d 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ame.if t|here is |
|00002ec0| 61 20 77 69 6e 64 6f 77 | 20 74 68 65 4f 69 64 20 |a window| theOid |
|00002ed0| 74 68 65 6e 20 63 6c 6f | 73 65 20 77 69 6e 64 6f |then clo|se windo|
|00002ee0| 77 20 74 68 65 4f 69 64 | 0d 6c 69 73 74 44 69 72 |w theOid|.listDir|
|00002ef0| 0d 67 65 74 20 66 69 6e | 64 49 6e 46 69 65 6c 64 |.get fin|dInField|
|00002f00| 28 70 4c 69 73 74 2c 77 | 69 6e 64 6f 77 4e 61 6d |(pList,w|indowNam|
|00002f10| 65 2c 22 22 2c 30 29 0d | 69 66 20 69 74 65 6d 20 |e,"",0).|if item |
|00002f20| 33 20 6f 66 20 69 74 20 | ad 20 31 20 74 68 65 6e |3 of it |. 1 then|
|00002f30| 20 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 69 | put ite|m 1 of i|
|00002f40| 74 20 69 6e 74 6f 20 73 | 74 61 72 74 0d 65 6c 73 |t into s|tart.els|
|00002f50| 65 20 70 75 74 20 30 20 | 69 6e 74 6f 20 73 74 61 |e put 0 |into sta|
|00002f60| 72 74 0d 67 65 74 20 69 | 74 65 6d 20 32 20 6f 66 |rt.get i|tem 2 of|
|00002f70| 20 66 69 6e 64 49 6e 46 | 69 65 6c 64 28 70 4c 69 | findInF|ield(pLi|
|00002f80| 73 74 2c 77 69 6e 64 6f | 77 4e 61 6d 65 2c 22 22 |st,windo|wName,""|
|00002f90| 2c 73 74 61 72 74 29 0d | 69 66 20 69 74 20 3d 20 |,start).|if it = |
|00002fa0| 31 20 74 68 65 6e 20 70 | 75 74 20 6c 69 6e 65 20 |1 then p|ut line |
|00002fb0| 28 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 |(number |of lines|
|00002fc0| 20 6f 66 20 70 4c 69 73 | 74 29 20 6f 66 20 70 4c | of pLis|t) of pL|
|00002fd0| 69 73 74 20 69 6e 74 6f | 20 77 69 6e 64 6f 77 4e |ist into| windowN|
|00002fe0| 61 6d 65 0d 65 6c 73 65 | 20 70 75 74 20 6c 69 6e |ame.else| put lin|
|00002ff0| 65 20 69 74 20 2d 20 31 | 20 6f 66 20 70 4c 69 73 |e it - 1| of pLis|
|00003000| 74 20 69 6e 74 6f 20 77 | 69 6e 64 6f 77 4e 61 6d |t into w|indowNam|
|00003010| 65 0d 6b 69 6c 6c 4f 70 | 65 6e 57 69 6e 64 6f 77 |e.killOp|enWindow|
|00003020| 73 0d 73 68 6f 77 50 69 | 63 74 75 72 65 0d 65 6e |s.showPi|cture.en|
|00003030| 64 20 73 68 6f 77 50 72 | 65 76 0d 6f 6e 20 73 68 |d showPr|ev.on sh|
|00003040| 6f 77 4e 65 78 74 0d 67 | 6c 6f 62 61 6c 20 70 4c |owNext.g|lobal pL|
|00003050| 69 73 74 2c 20 77 69 6e | 64 6f 77 4e 61 6d 65 2c |ist, win|dowName,|
|00003060| 20 70 4c 69 73 74 2c 20 | 74 68 65 4f 69 64 0d 69 | pList, |theOid.i|
|00003070| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00003080| 64 6f 77 20 77 69 6e 64 | 6f 77 4e 61 6d 65 20 74 |dow wind|owName t|
|00003090| 68 65 6e 20 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen clos|e window|
|000030a0| 20 77 69 6e 64 6f 77 4e | 61 6d 65 0d 69 66 20 74 | windowN|ame.if t|
|000030b0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|000030c0| 20 74 68 65 4f 69 64 20 | 74 68 65 6e 20 63 6c 6f | theOid |then clo|
|000030d0| 73 65 20 77 69 6e 64 6f | 77 20 74 68 65 4f 69 64 |se windo|w theOid|
|000030e0| 0d 69 66 20 70 4c 69 73 | 74 20 3d 20 65 6d 70 74 |.if pLis|t = empt|
|000030f0| 79 20 74 68 65 6e 20 6c | 69 73 74 44 69 72 0d 67 |y then l|istDir.g|
|00003100| 65 74 20 66 69 6e 64 49 | 6e 46 69 65 6c 64 28 70 |et findI|nField(p|
|00003110| 4c 69 73 74 2c 77 69 6e | 64 6f 77 4e 61 6d 65 2c |List,win|dowName,|
|00003120| 22 22 2c 30 29 0d 69 66 | 20 69 74 65 6d 20 33 20 |"",0).if| item 3 |
|00003130| 6f 66 20 69 74 20 ad 20 | 31 20 74 68 65 6e 20 70 |of it . |1 then p|
|00003140| 75 74 20 69 74 65 6d 20 | 31 20 6f 66 20 69 74 20 |ut item |1 of it |
|00003150| 69 6e 74 6f 20 73 74 61 | 72 74 0d 65 6c 73 65 20 |into sta|rt.else |
|00003160| 70 75 74 20 30 20 69 6e | 74 6f 20 73 74 61 72 74 |put 0 in|to start|
|00003170| 0d 67 65 74 20 69 74 65 | 6d 20 32 20 6f 66 20 66 |.get ite|m 2 of f|
|00003180| 69 6e 64 49 6e 46 69 65 | 6c 64 28 70 4c 69 73 74 |indInFie|ld(pList|
|00003190| 2c 77 69 6e 64 6f 77 4e | 61 6d 65 2c 22 22 2c 73 |,windowN|ame,"",s|
|000031a0| 74 61 72 74 29 0d 69 66 | 20 69 74 20 ad 20 28 6e |tart).if| it . (n|
|000031b0| 75 6d 62 65 72 20 6f 66 | 20 6c 69 6e 65 73 20 6f |umber of| lines o|
|000031c0| 66 20 70 4c 69 73 74 29 | 20 74 68 65 6e 0d 70 75 |f pList)| then.pu|
|000031d0| 74 20 6c 69 6e 65 20 69 | 74 65 6d 20 32 20 6f 66 |t line i|tem 2 of|
|000031e0| 20 66 69 6e 64 49 6e 46 | 69 65 6c 64 28 70 4c 69 | findInF|ield(pLi|
|000031f0| 73 74 2c 77 69 6e 64 6f | 77 4e 61 6d 65 2c 22 22 |st,windo|wName,""|
|00003200| 2c 73 74 61 72 74 29 20 | 2b 20 31 20 6f 66 20 70 |,start) |+ 1 of p|
|00003210| 4c 69 73 74 20 69 6e 74 | 6f 20 77 69 6e 64 6f 77 |List int|o window|
|00003220| 4e 61 6d 65 0d 65 6c 73 | 65 20 70 75 74 20 6c 69 |Name.els|e put li|
|00003230| 6e 65 20 31 20 6f 66 20 | 70 4c 69 73 74 20 69 6e |ne 1 of |pList in|
|00003240| 74 6f 20 77 69 6e 64 6f | 77 4e 61 6d 65 0d 6b 69 |to windo|wName.ki|
|00003250| 6c 6c 4f 70 65 6e 57 69 | 6e 64 6f 77 73 0d 73 68 |llOpenWi|ndows.sh|
|00003260| 6f 77 50 69 63 74 75 72 | 65 0d 65 6e 64 20 73 68 |owPictur|e.end sh|
|00003270| 6f 77 4e 65 78 74 0d 6f | 6e 20 73 68 6f 77 4c 61 |owNext.o|n showLa|
|00003280| 73 74 0d 67 6c 6f 62 61 | 6c 20 70 4c 69 73 74 2c |st.globa|l pList,|
|00003290| 20 77 69 6e 64 6f 77 4e | 61 6d 65 2c 20 74 68 65 | windowN|ame, the|
|000032a0| 4f 69 64 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |Oid.if t|here is |
|000032b0| 61 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |a window| windowN|
|000032c0| 61 6d 65 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |ame then| close w|
|000032d0| 69 6e 64 6f 77 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |indow wi|ndowName|
|000032e0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|000032f0| 69 6e 64 6f 77 20 74 68 | 65 4f 69 64 20 74 68 65 |indow th|eOid the|
|00003300| 6e 20 63 6c 6f 73 65 20 | 77 69 6e 64 6f 77 20 74 |n close |window t|
|00003310| 68 65 4f 69 64 0d 6c 69 | 73 74 44 69 72 0d 70 75 |heOid.li|stDir.pu|
|00003320| 74 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 70 |t last l|ine of p|
|00003330| 4c 69 73 74 20 69 6e 74 | 6f 20 77 69 6e 64 6f 77 |List int|o window|
|00003340| 4e 61 6d 65 0d 73 68 6f | 77 50 69 63 74 75 72 65 |Name.sho|wPicture|
|00003350| 0d 65 6e 64 20 73 68 6f | 77 4c 61 73 74 0d 6f 6e |.end sho|wLast.on|
|00003360| 20 53 61 76 65 32 64 69 | 73 6b 0d 67 6c 6f 62 61 | Save2di|sk.globa|
|00003370| 6c 20 77 69 6e 64 6f 77 | 4e 61 6d 65 2c 20 66 69 |l window|Name, fi|
|00003380| 6c 65 4e 61 6d 65 2c 20 | 6e 65 77 4e 61 6d 65 2c |leName, |newName,|
|00003390| 20 70 44 65 70 74 68 2c | 20 70 53 69 7a 65 2c 20 | pDepth,| pSize, |
|000033a0| 6d 6f 76 69 65 50 6c 61 | 79 69 6e 67 0d 69 66 20 |moviePla|ying.if |
|000033b0| 6d 6f 76 69 65 50 6c 61 | 79 69 6e 67 20 ad 20 54 |moviePla|ying . T|
|000033c0| 52 55 45 20 74 68 65 6e | 0d 70 75 74 41 6c 65 72 |RUE then|.putAler|
|000033d0| 74 20 22 22 2c 31 30 37 | 0d 69 66 20 74 68 65 20 |t "",107|.if the |
|000033e0| 72 65 73 75 6c 74 20 3d | 20 32 20 74 68 65 6e 20 |result =| 2 then |
|000033f0| 65 78 69 74 20 53 61 76 | 65 32 44 69 73 6b 0d 65 |exit Sav|e2Disk.e|
|00003400| 6c 73 65 20 69 66 20 74 | 68 65 20 72 65 73 75 6c |lse if t|he resul|
|00003410| 74 20 3d 20 33 20 74 68 | 65 6e 20 70 75 74 20 22 |t = 3 th|en put "|
|00003420| 70 69 63 74 22 20 69 6e | 74 6f 20 74 68 65 52 65 |pict" in|to theRe|
|00003430| 73 0d 65 6c 73 65 20 69 | 66 20 74 68 65 20 72 65 |s.else i|f the re|
|00003440| 73 75 6c 74 20 3d 20 34 | 20 74 68 65 6e 20 70 75 |sult = 4| then pu|
|00003450| 74 20 22 70 69 63 74 22 | 20 69 6e 74 6f 20 74 68 |t "pict"| into th|
|00003460| 65 52 65 73 0d 65 6c 73 | 65 20 69 66 20 74 68 65 |eRes.els|e if the|
|00003470| 20 72 65 73 75 6c 74 20 | 3d 20 35 20 74 68 65 6e | result |= 5 then|
|00003480| 20 70 75 74 20 22 73 6e | 64 22 20 69 6e 74 6f 20 | put "sn|d" into |
|00003490| 74 68 65 52 65 73 0d 65 | 6c 73 65 20 69 66 20 74 |theRes.e|lse if t|
|000034a0| 68 65 20 72 65 73 75 6c | 74 20 3d 20 36 20 74 68 |he resul|t = 6 th|
|000034b0| 65 6e 20 70 75 74 20 22 | 73 6e 64 22 20 69 6e 74 |en put "|snd" int|
|000034c0| 6f 20 74 68 65 52 65 73 | 0d 69 66 20 74 68 65 52 |o theRes|.if theR|
|000034d0| 65 73 20 3d 20 65 6d 70 | 74 79 20 74 68 65 6e 0d |es = emp|ty then.|
|000034e0| 65 78 69 74 20 53 61 76 | 65 32 44 69 73 6b 0d 65 |exit Sav|e2Disk.e|
|000034f0| 6c 73 65 20 69 66 20 74 | 68 65 52 65 73 20 3d 20 |lse if t|heRes = |
|00003500| 22 70 69 63 74 22 20 74 | 68 65 6e 0d 70 75 74 20 |"pict" t|hen.put |
|00003510| 6c 6f 63 61 74 65 46 28 | 29 20 26 20 70 44 65 70 |locateF(|) & pDep|
|00003520| 74 68 20 26 20 70 53 69 | 7a 65 20 26 20 22 3a 22 |th & pSi|ze & ":"|
|00003530| 20 26 20 77 69 6e 64 6f | 77 4e 61 6d 65 20 69 6e | & windo|wName in|
|00003540| 74 6f 20 66 69 6c 65 4e | 61 6d 65 0d 65 6c 73 65 |to fileN|ame.else|
|00003550| 20 69 66 20 74 68 65 52 | 65 73 20 3d 20 22 73 6e | if theR|es = "sn|
|00003560| 64 22 20 74 68 65 6e 0d | 70 75 74 20 6c 6f 63 61 |d" then.|put loca|
|00003570| 74 65 46 28 29 20 26 20 | 22 53 6e 64 20 46 69 6c |teF() & |"Snd Fil|
|00003580| 65 73 3a 22 20 26 20 77 | 69 6e 64 6f 77 4e 61 6d |es:" & w|indowNam|
|00003590| 65 20 69 6e 74 6f 20 66 | 69 6c 65 4e 61 6d 65 0d |e into f|ileName.|
|000035a0| 65 6e 64 20 69 66 0d 61 | 73 6b 20 66 69 6c 65 20 |end if.a|sk file |
|000035b0| 22 53 61 76 65 22 20 26 | 26 20 74 68 65 52 65 73 |"Save" &|& theRes|
|000035c0| 20 26 26 20 22 66 69 6c | 65 20 61 73 3a 22 20 77 | && "fil|e as:" w|
|000035d0| 69 74 68 20 77 69 6e 64 | 6f 77 4e 61 6d 65 20 26 |ith wind|owName &|
|000035e0| 20 22 2e 22 20 26 20 74 | 68 65 52 65 73 0d 69 66 | "." & t|heRes.if|
|000035f0| 20 69 74 20 ad 20 65 6d | 70 74 79 20 74 68 65 6e | it . em|pty then|
|00003600| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 6e 65 77 |.put it |into new|
|00003610| 4e 61 6d 65 0d 63 6f 70 | 79 46 69 6c 65 20 66 69 |Name.cop|yFile fi|
|00003620| 6c 65 4e 61 6d 65 2c 20 | 6e 65 77 4e 61 6d 65 2c |leName, |newName,|
|00003630| 20 6f 0d 69 66 20 74 68 | 65 20 72 65 73 75 6c 74 | o.if th|e result|
|00003640| 20 3d 20 22 30 22 20 74 | 68 65 6e 0d 69 66 20 74 | = "0" t|hen.if t|
|00003650| 68 65 52 65 73 20 3d 20 | 22 73 6e 64 22 20 74 68 |heRes = |"snd" th|
|00003660| 65 6e 20 70 75 74 20 63 | 68 61 6e 67 65 46 69 6c |en put c|hangeFil|
|00003670| 65 54 79 70 65 28 6e 65 | 77 4e 61 6d 65 2c 22 73 |eType(ne|wName,"s|
|00003680| 66 69 6c 65 22 2c 22 6d | 6f 76 72 22 29 20 69 6e |file","m|ovr") in|
|00003690| 74 6f 20 73 6d 43 68 61 | 6e 67 65 0d 61 6e 73 77 |to smCha|nge.answ|
|000036a0| 65 72 20 22 d2 22 20 26 | 20 74 68 65 52 65 73 20 |er "." &| theRes |
|000036b0| 26 20 22 d3 22 20 26 26 | 20 22 66 69 6c 65 20 63 |& "." &&| "file c|
|000036c0| 6f 70 69 65 64 20 73 75 | 63 63 65 73 73 66 75 6c |opied su|ccessful|
|000036d0| 6c 79 21 22 20 77 69 74 | 68 20 22 43 6f 6f 6c 21 |ly!" wit|h "Cool!|
|000036e0| 22 0d 65 6c 73 65 20 61 | 6e 73 77 65 72 20 22 55 |".else a|nswer "U|
|000036f0| 6e 61 62 6c 65 20 74 6f | 20 63 6f 6d 70 6c 65 74 |nable to| complet|
|00003700| 65 20 6f 70 65 72 61 74 | 69 6f 6e 2e 22 20 77 69 |e operat|ion." wi|
|00003710| 74 68 20 22 53 6f 72 72 | 79 22 0d 65 6e 64 20 69 |th "Sorr|y".end i|
|00003720| 66 0d 65 6c 73 65 20 61 | 6e 73 77 65 72 20 22 45 |f.else a|nswer "E|
|00003730| 78 70 6f 72 74 69 6e 67 | 20 6d 6f 76 69 65 73 20 |xporting| movies |
|00003740| 69 73 20 6e 6f 74 20 79 | 65 74 20 69 6d 70 6c 69 |is not y|et impli|
|00003750| 6d 65 6e 74 65 64 2e 22 | 20 26 20 72 65 74 75 72 |mented."| & retur|
|00003760| 6e 20 26 20 72 65 74 75 | 72 6e 20 26 c2 0d 22 51 |n & retu|rn &.."Q|
|00003770| 75 69 74 20 61 6e 64 20 | 63 6f 70 79 20 6d 6f 76 |uit and |copy mov|
|00003780| 69 65 20 66 72 6f 6d 20 | 74 68 65 20 d2 4d 6f 76 |ie from |the .Mov|
|00003790| 69 65 73 d3 20 66 6f 6c | 64 65 72 2e 22 20 77 69 |ies. fol|der." wi|
|000037a0| 74 68 20 22 52 61 74 73 | 21 22 0d 65 6e 64 20 73 |th "Rats|!".end s|
|000037b0| 61 76 65 32 64 69 73 6b | 0d 6f 6e 20 67 6f 46 69 |ave2disk|.on goFi|
|000037c0| 6e 64 0d 67 6c 6f 62 61 | 6c 20 66 69 6e 64 4d 65 |nd.globa|l findMe|
|000037d0| 2c 20 6e 75 6d 48 69 74 | 2c 20 73 65 61 72 63 68 |, numHit|, search|
|000037e0| 48 69 74 73 2c 20 69 66 | 46 69 6e 64 2c 20 68 69 |Hits, if|Find, hi|
|000037f0| 74 50 61 74 68 0d 69 66 | 20 74 68 65 72 65 20 69 |tPath.if| there i|
|00003800| 73 20 6e 6f 74 20 61 20 | 77 69 6e 64 6f 77 20 22 |s not a |window "|
|00003810| 46 69 6e 64 22 20 74 68 | 65 6e 0d 67 65 74 20 77 |Find" th|en.get w|
|00003820| 69 6e 64 6f 77 53 63 72 | 69 70 74 28 22 46 69 6e |indowScr|ipt("Fin|
|00003830| 64 22 20 26 20 72 65 74 | 75 72 6e 20 26 20 22 69 |d" & ret|urn & "i|
|00003840| 30 5f 48 65 69 67 68 74 | 3a 37 32 22 c2 0d 26 20 |0_Height|:72"..& |
|00003850| 72 65 74 75 72 6e 20 26 | 20 22 69 32 5f 54 65 78 |return &| "i2_Tex|
|00003860| 74 3a 22 20 26 20 66 69 | 6e 64 4d 65 20 26 20 72 |t:" & fi|ndMe & r|
|00003870| 65 74 75 72 6e 20 26 20 | 22 69 37 5f 54 65 78 74 |eturn & |"i7_Text|
|00003880| 3a 22 20 26 20 6e 75 6d | 48 69 74 c2 0d 26 20 72 |:" & num|Hit..& r|
|00003890| 65 74 75 72 6e 20 26 20 | 22 69 39 5f 57 6f 72 64 |eturn & |"i9_Word|
|000038a0| 77 72 61 70 3a 54 52 55 | 45 22 20 26 20 72 65 74 |wrap:TRU|E" & ret|
|000038b0| 75 72 6e 20 26 20 22 69 | 31 32 5f 56 69 73 69 62 |urn & "i|12_Visib|
|000038c0| 6c 65 3a 46 41 4c 53 45 | 22 29 0d 73 65 74 20 22 |le:FALSE|").set "|
|000038d0| 69 38 5f 54 65 78 74 22 | 20 6f 66 20 77 69 6e 64 |i8_Text"| of wind|
|000038e0| 6f 77 20 22 46 69 6e 64 | 22 20 74 6f 20 73 65 61 |ow "Find|" to sea|
|000038f0| 72 63 68 48 69 74 73 0d | 73 65 74 20 22 69 39 5f |rchHits.|set "i9_|
|00003900| 54 65 78 74 22 20 6f 66 | 20 77 69 6e 64 6f 77 20 |Text" of| window |
|00003910| 22 46 69 6e 64 22 20 74 | 6f 20 68 69 74 50 61 74 |"Find" t|o hitPat|
|00003920| 68 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 67 6f 46 |h.end if|.end goF|
|00003930| 69 6e 64 0d 2d 2d 20 2a | 4e 6f 20 6c 6f 6e 67 65 |ind.-- *|No longe|
|00003940| 72 20 61 20 50 61 6c 65 | 74 74 65 20 68 61 6e 64 |r a Pale|tte hand|
|00003950| 6c 65 72 2c 20 62 75 74 | 20 75 73 65 64 20 6f 6e |ler, but| used on|
|00003960| 20 6d 6f 75 73 65 44 6f | 77 6e 49 6e 50 69 63 74 | mouseDo|wnInPict|
|00003970| 75 72 65 2a 0d 6f 6e 20 | 64 6f 5a 6f 6f 6d 0d 67 |ure*.on |doZoom.g|
|00003980| 6c 6f 62 61 6c 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |lobal wi|ndowName|
|00003990| 2c 74 68 65 4f 69 64 2c | 70 44 65 70 74 68 2c 70 |,theOid,|pDepth,p|
|000039a0| 53 69 7a 65 2c 70 53 74 | 79 6c 65 2c 73 6d 61 6c |Size,pSt|yle,smal|
|000039b0| 6c 53 74 79 6c 65 2c 54 | 68 75 6d 62 53 74 79 6c |lStyle,T|humbStyl|
|000039c0| 65 2c 46 75 6c 6c 53 74 | 79 6c 65 0d 69 66 20 74 |e,FullSt|yle.if t|
|000039d0| 68 65 72 65 20 69 73 20 | 61 20 77 69 6e 64 6f 77 |here is |a window|
|000039e0| 20 77 69 6e 64 6f 77 4e | 61 6d 65 20 74 68 65 6e | windowN|ame then|
|000039f0| 20 63 6c 6f 73 65 20 77 | 69 6e 64 6f 77 20 77 69 | close w|indow wi|
|00003a00| 6e 64 6f 77 4e 61 6d 65 | 0d 69 66 20 70 53 69 7a |ndowName|.if pSiz|
|00003a10| 65 20 63 6f 6e 74 61 69 | 6e 73 20 22 73 6d 61 6c |e contai|ns "smal|
|00003a20| 6c 22 20 74 68 65 6e 0d | 67 65 74 46 75 6c 6c 0d |l" then.|getFull.|
|00003a30| 65 6c 73 65 20 69 66 20 | 70 53 69 7a 65 20 63 6f |else if |pSize co|
|00003a40| 6e 74 61 69 6e 73 20 22 | 54 68 75 6d 62 6e 61 69 |ntains "|Thumbnai|
|00003a50| 6c 73 22 20 74 68 65 6e | 0d 67 65 74 53 6d 61 6c |ls" then|.getSmal|
|00003a60| 6c 0d 65 6c 73 65 0d 67 | 65 74 54 68 75 6d 62 0d |l.else.g|etThumb.|
|00003a70| 65 6e 64 20 69 66 0d 65 | 6e 64 20 64 6f 5a 6f 6f |end if.e|nd doZoo|
|00003a80| 6d 0d 0d 6f 6e 20 64 6f | 45 78 70 6f 72 74 0d 67 |m..on do|Export.g|
|00003a90| 6c 6f 62 61 6c 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |lobal wi|ndowName|
|00003aa0| 2c 20 70 44 65 70 74 68 | 2c 20 70 53 69 7a 65 2c |, pDepth|, pSize,|
|00003ab0| 20 6e 65 77 52 65 63 74 | 2c 20 66 69 6c 65 4e 61 | newRect|, fileNa|
|00003ac0| 6d 65 0d 73 65 6e 64 20 | 63 68 65 63 6b 50 61 6c |me.send |checkPal|
|00003ad0| 65 74 74 65 20 74 6f 20 | 62 61 63 6b 67 72 6f 75 |ette to |backgrou|
|00003ae0| 6e 64 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |nd.if th|ere is a|
|00003af0| 20 77 69 6e 64 6f 77 20 | 22 42 6c 61 63 6b 6f 75 | window |"Blackou|
|00003b00| 74 22 20 74 68 65 6e 0d | 73 65 6e 64 20 22 53 65 |t" then.|send "Se|
|00003b10| 6e 64 74 6f 62 61 63 6b | 22 20 74 6f 20 77 69 6e |ndtoback|" to win|
|00003b20| 64 6f 77 20 22 42 6c 61 | 63 6b 6f 75 74 22 0d 65 |dow "Bla|ckout".e|
|00003b30| 6e 64 20 69 66 0d 73 68 | 6f 77 20 77 69 6e 64 6f |nd if.sh|ow windo|
|00003b40| 77 20 77 69 6e 64 6f 77 | 4e 61 6d 65 20 2d 2d 20 |w window|Name -- |
|00003b50| 53 68 6f 77 20 74 68 65 | 20 70 69 63 74 75 72 65 |Show the| picture|
|00003b60| 2e 0d 70 75 74 20 6c 6f | 63 61 74 65 46 28 29 20 |..put lo|cateF() |
|00003b70| 26 20 70 44 65 70 74 68 | 20 26 20 70 53 69 7a 65 |& pDepth| & pSize|
|00003b80| 20 26 20 22 3a 22 20 26 | 20 77 69 6e 64 6f 77 4e | & ":" &| windowN|
|00003b90| 61 6d 65 20 69 6e 74 6f | 20 66 69 6c 65 4e 61 6d |ame into| fileNam|
|00003ba0| 65 0d 70 75 74 20 28 22 | 30 2c 30 2c 22 20 26 20 |e.put ("|0,0," & |
|00003bb0| 74 68 65 20 77 69 64 74 | 68 20 6f 66 20 77 69 6e |the widt|h of win|
|00003bc0| 64 6f 77 20 77 69 6e 64 | 6f 77 4e 61 6d 65 20 26 |dow wind|owName &|
|00003bd0| 20 22 2c 22 20 26 20 74 | 68 65 20 68 65 69 67 68 | "," & t|he heigh|
|00003be0| 74 20 6f 66 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |t of win|dow wind|
|00003bf0| 6f 77 4e 61 6d 65 29 20 | c2 0d 69 6e 74 6f 20 6e |owName) |..into n|
|00003c00| 65 77 52 65 63 74 0d 73 | 65 74 20 63 75 72 73 6f |ewRect.s|et curso|
|00003c10| 72 20 74 6f 20 77 61 74 | 63 68 0d 50 49 43 54 54 |r to wat|ch.PICTT|
|00003c20| 6f 43 6c 69 70 20 66 69 | 6c 65 4e 61 6d 65 2c 22 |oClip fi|leName,"|
|00003c30| 46 61 6c 73 65 22 2c 6e | 65 77 52 65 63 74 0d 69 |False",n|ewRect.i|
|00003c40| 66 20 74 68 65 20 72 65 | 73 75 6c 74 20 3d 20 22 |f the re|sult = "|
|00003c50| 22 20 74 68 65 6e 0d 61 | 6e 73 77 65 72 28 22 54 |" then.a|nswer("T|
|00003c60| 68 69 73 20 70 69 63 74 | 75 72 65 20 68 61 73 20 |his pict|ure has |
|00003c70| 62 65 65 6e 20 63 6f 70 | 69 65 64 20 74 6f 20 74 |been cop|ied to t|
|00003c80| 68 65 20 43 6c 69 70 62 | 6f 61 72 64 2e 22 29 20 |he Clipb|oard.") |
|00003c90| 77 69 74 68 20 22 4f 4b | 22 0d 65 6c 73 65 0d 61 |with "OK|".else.a|
|00003ca0| 6e 73 77 65 72 28 22 54 | 68 65 20 70 69 63 74 75 |nswer("T|he pictu|
|00003cb0| 72 65 20 63 6f 75 6c 64 | 20 6e 6f 74 20 62 65 20 |re could| not be |
|00003cc0| 63 6f 70 69 65 64 2e 22 | 20 20 26 20 72 65 74 75 |copied."| & retu|
|00003cd0| 72 6e 20 26 20 72 65 74 | 75 72 6e 20 26 20 74 68 |rn & ret|urn & th|
|00003ce0| 65 20 72 65 73 75 6c 74 | 29 20 77 69 74 68 20 22 |e result|) with "|
|00003cf0| 4f 4b 22 0d 65 6e 64 20 | 69 66 0d 65 6e 64 20 64 |OK".end |if.end d|
|00003d00| 6f 45 78 70 6f 72 74 0d | 0d 6f 6e 20 70 6c 61 79 |oExport.|.on play|
|00003d10| 53 6f 75 6e 64 20 78 0d | 67 6c 6f 62 61 6c 20 77 |Sound x.|global w|
|00003d20| 69 6e 64 6f 77 4e 61 6d | 65 2c 6c 61 73 74 53 6e |indowNam|e,lastSn|
|00003d30| 64 2c 6d 79 52 65 66 4e | 75 6d 2c 69 66 53 6c 69 |d,myRefN|um,ifSli|
|00003d40| 64 65 53 68 6f 77 2c 70 | 61 6c 65 74 74 65 4e 61 |deShow,p|aletteNa|
|00003d50| 6d 65 0d 69 66 20 69 66 | 53 6c 69 64 65 53 68 6f |me.if if|SlideSho|
|00003d60| 77 20 3d 20 65 6d 70 74 | 79 20 74 68 65 6e 20 70 |w = empt|y then p|
|00003d70| 75 74 20 66 61 6c 73 65 | 20 69 6e 74 6f 20 69 66 |ut false| into if|
|00003d80| 53 6c 69 64 65 53 68 6f | 77 0d 69 66 20 77 69 6e |SlideSho|w.if win|
|00003d90| 64 6f 77 4e 61 6d 65 20 | ad 20 6c 61 73 74 53 6e |dowName |. lastSn|
|00003da0| 64 20 74 68 65 6e 0d 70 | 6c 61 79 20 73 74 6f 70 |d then.p|lay stop|
|00003db0| 0d 70 75 74 20 6c 6f 63 | 61 74 65 46 28 29 20 26 |.put loc|ateF() &|
|00003dc0| 20 22 53 6e 64 20 46 69 | 6c 65 73 3a 22 20 26 20 | "Snd Fi|les:" & |
|00003dd0| 77 69 6e 64 6f 77 4e 61 | 6d 65 20 69 6e 74 6f 20 |windowNa|me into |
|00003de0| 73 6e 64 66 69 6c 65 4e | 61 6d 65 0d 69 66 20 69 |sndfileN|ame.if i|
|00003df0| 73 46 69 6c 65 28 73 6e | 64 66 69 6c 65 4e 61 6d |sFile(sn|dfileNam|
|00003e00| 65 29 20 3d 20 74 72 75 | 65 20 74 68 65 6e 0d 69 |e) = tru|e then.i|
|00003e10| 66 20 6d 79 52 65 66 4e | 75 6d 20 ad 20 65 6d 70 |f myRefN|um . emp|
|00003e20| 74 79 20 74 68 65 6e 20 | 52 65 73 46 69 6c 43 6c |ty then |ResFilCl|
|00003e30| 6f 73 65 20 6d 79 52 65 | 66 4e 75 6d 0d 70 75 74 |ose myRe|fNum.put|
|00003e40| 20 52 65 73 46 69 6c 4f | 70 65 6e 28 73 6e 64 66 | ResFilO|pen(sndf|
|00003e50| 69 6c 65 4e 61 6d 65 29 | 20 69 6e 74 6f 20 6d 79 |ileName)| into my|
|00003e60| 52 65 66 4e 75 6d 0d 65 | 6e 64 20 69 66 0d 65 6e |RefNum.e|nd if.en|
|00003e70| 64 20 69 66 0d 70 75 74 | 20 77 69 6e 64 6f 77 4e |d if.put| windowN|
|00003e80| 61 6d 65 20 69 6e 74 6f | 20 6c 61 73 74 53 6e 64 |ame into| lastSnd|
|00003e90| 0d 69 66 20 69 66 53 6c | 69 64 65 53 68 6f 77 20 |.if ifSl|ideShow |
|00003ea0| 74 68 65 6e 0d 69 66 20 | 74 68 65 20 73 6f 75 6e |then.if |the soun|
|00003eb0| 64 20 69 73 20 22 64 6f | 6e 65 22 20 74 68 65 6e |d is "do|ne" then|
|00003ec0| 0d 70 6c 61 79 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |.play wi|ndowName|
|00003ed0| 0d 65 78 69 74 20 70 6c | 61 79 53 6f 75 6e 64 0d |.exit pl|aySound.|
|00003ee0| 65 6c 73 65 0d 70 6c 61 | 79 20 73 74 6f 70 0d 63 |else.pla|y stop.c|
|00003ef0| 72 65 61 74 65 50 61 6c | 65 74 74 65 0d 65 6e 64 |reatePal|ette.end|
|00003f00| 20 69 66 0d 65 6e 64 20 | 69 66 0d 69 66 20 74 68 | if.end |if.if th|
|00003f10| 65 20 73 6f 75 6e 64 20 | ad 20 22 64 6f 6e 65 22 |e sound |. "done"|
|00003f20| 20 74 68 65 6e 0d 70 6c | 61 79 20 73 74 6f 70 0d | then.pl|ay stop.|
|00003f30| 69 66 20 74 68 65 72 65 | 20 69 73 20 61 20 77 69 |if there| is a wi|
|00003f40| 6e 64 6f 77 20 70 61 6c | 65 74 74 65 4e 61 6d 65 |ndow pal|etteName|
|00003f50| 20 74 68 65 6e 0d 69 66 | 20 70 61 6c 65 74 74 65 | then.if| palette|
|00003f60| 4e 61 6d 65 20 63 6f 6e | 74 61 69 6e 73 20 22 53 |Name con|tains "S|
|00003f70| 6d 22 20 74 68 65 6e 0d | 73 65 74 20 69 36 5f 4e |m" then.|set i6_N|
|00003f80| 61 6d 65 20 6f 66 20 77 | 69 6e 64 6f 77 20 70 61 |ame of w|indow pa|
|00003f90| 6c 65 74 74 65 4e 61 6d | 65 20 74 6f 20 6e 6f 73 |letteNam|e to nos|
|00003fa0| 6f 75 6e 64 0d 65 6c 73 | 65 0d 73 65 74 20 69 37 |ound.els|e.set i7|
|00003fb0| 5f 4e 61 6d 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |_Name of| window |
|00003fc0| 70 61 6c 65 74 74 65 4e | 61 6d 65 20 74 6f 20 6e |paletteN|ame to n|
|00003fd0| 6f 73 6f 75 6e 64 0d 65 | 6e 64 20 69 66 0d 65 6e |osound.e|nd if.en|
|00003fe0| 64 20 69 66 0d 65 6c 73 | 65 0d 69 66 20 74 68 65 |d if.els|e.if the|
|00003ff0| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 70 |re is a |window p|
|00004000| 61 6c 65 74 74 65 4e 61 | 6d 65 20 74 68 65 6e 0d |aletteNa|me then.|
|00004010| 69 66 20 70 61 6c 65 74 | 74 65 4e 61 6d 65 20 63 |if palet|teName c|
|00004020| 6f 6e 74 61 69 6e 73 20 | 22 53 6d 22 20 74 68 65 |ontains |"Sm" the|
|00004030| 6e 0d 73 65 74 20 69 36 | 5f 4e 61 6d 65 20 6f 66 |n.set i6|_Name of|
|00004040| 20 77 69 6e 64 6f 77 20 | 70 61 6c 65 74 74 65 4e | window |paletteN|
|00004050| 61 6d 65 20 74 6f 20 73 | 6f 75 6e 64 0d 65 6c 73 |ame to s|ound.els|
|00004060| 65 0d 73 65 74 20 69 37 | 5f 4e 61 6d 65 20 6f 66 |e.set i7|_Name of|
|00004070| 20 77 69 6e 64 6f 77 20 | 70 61 6c 65 74 74 65 4e | window |paletteN|
|00004080| 61 6d 65 20 74 6f 20 73 | 6f 75 6e 64 0d 65 6e 64 |ame to s|ound.end|
|00004090| 20 69 66 0d 65 6e 64 20 | 69 66 0d 70 6c 61 79 20 | if.end |if.play |
|000040a0| 77 69 6e 64 6f 77 4e 61 | 6d 65 0d 69 66 20 74 68 |windowNa|me.if th|
|000040b0| 65 20 72 65 73 75 6c 74 | 20 3c 3e 20 22 22 20 74 |e result| <> "" t|
|000040c0| 68 65 6e 0d 61 6e 73 77 | 65 72 28 74 68 65 20 72 |hen.answ|er(the r|
|000040d0| 65 73 75 6c 74 29 0d 65 | 6e 64 20 69 66 0d 65 6e |esult).e|nd if.en|
|000040e0| 64 20 69 66 0d 65 6e 64 | 20 70 6c 61 79 53 6f 75 |d if.end| playSou|
|000040f0| 6e 64 0d 6f 6e 20 73 74 | 6f 70 53 6f 75 6e 64 0d |nd.on st|opSound.|
|00004100| 67 6c 6f 62 61 6c 20 70 | 61 6c 65 74 74 65 4e 61 |global p|aletteNa|
|00004110| 6d 65 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |me.if th|ere is a|
|00004120| 20 77 69 6e 64 6f 77 20 | 70 61 6c 65 74 74 65 4e | window |paletteN|
|00004130| 61 6d 65 20 74 68 65 6e | 0d 69 66 20 70 61 6c 65 |ame then|.if pale|
|00004140| 74 74 65 4e 61 6d 65 20 | 63 6f 6e 74 61 69 6e 73 |tteName |contains|
|00004150| 20 22 53 6d 22 20 74 68 | 65 6e 0d 69 66 20 69 36 | "Sm" th|en.if i6|
|00004160| 5f 4e 61 6d 65 20 6f 66 | 20 77 69 6e 64 6f 77 20 |_Name of| window |
|00004170| 70 61 6c 65 74 74 65 4e | 61 6d 65 20 ad 20 6e 6f |paletteN|ame . no|
|00004180| 73 6f 75 6e 64 20 74 68 | 65 6e 0d 73 65 74 20 69 |sound th|en.set i|
|00004190| 36 5f 4e 61 6d 65 20 6f | 66 20 77 69 6e 64 6f 77 |6_Name o|f window|
|000041a0| 20 70 61 6c 65 74 74 65 | 4e 61 6d 65 20 74 6f 20 | palette|Name to |
|000041b0| 6e 6f 73 6f 75 6e 64 0d | 65 6e 64 20 69 66 0d 65 |nosound.|end if.e|
|000041c0| 6c 73 65 0d 69 66 20 69 | 37 5f 4e 61 6d 65 20 6f |lse.if i|7_Name o|
|000041d0| 66 20 77 69 6e 64 6f 77 | 20 70 61 6c 65 74 74 65 |f window| palette|
|000041e0| 4e 61 6d 65 20 ad 20 6e | 6f 73 6f 75 6e 64 20 74 |Name . n|osound t|
|000041f0| 68 65 6e 0d 73 65 74 20 | 69 37 5f 4e 61 6d 65 20 |hen.set |i7_Name |
|00004200| 6f 66 20 77 69 6e 64 6f | 77 20 70 61 6c 65 74 74 |of windo|w palett|
|00004210| 65 4e 61 6d 65 20 74 6f | 20 6e 6f 73 6f 75 6e 64 |eName to| nosound|
|00004220| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 69 66 0d 65 |.end if.|end if.e|
|00004230| 6e 64 20 69 66 0d 65 6e | 64 20 73 74 6f 70 53 6f |nd if.en|d stopSo|
|00004240| 75 6e 64 0d 6f 6e 20 73 | 6e 64 50 69 63 6b 65 72 |und.on s|ndPicker|
|00004250| 0d 73 65 6e 64 20 63 68 | 65 63 6b 43 6f 6c 6f 72 |.send ch|eckColor|
|00004260| 20 74 6f 20 62 61 63 6b | 67 72 6f 75 6e 64 0d 69 | to back|ground.i|
|00004270| 66 20 74 68 65 72 65 20 | 69 73 20 6e 6f 74 20 61 |f there |is not a|
|00004280| 20 77 69 6e 64 6f 77 20 | 22 53 6f 75 6e 64 20 50 | window |"Sound P|
|00004290| 69 63 6b 65 72 22 20 74 | 68 65 6e 0d 67 65 74 20 |icker" t|hen.get |
|000042a0| 77 69 6e 64 6f 77 53 63 | 72 69 70 74 28 22 53 6f |windowSc|ript("So|
|000042b0| 75 6e 64 20 50 69 63 6b | 65 72 22 29 0d 73 65 6e |und Pick|er").sen|
|000042c0| 64 20 42 75 69 6c 64 53 | 6e 64 4c 69 73 74 20 74 |d BuildS|ndList t|
|000042d0| 6f 20 63 61 72 64 0d 73 | 65 74 20 69 31 5f 47 72 |o card.s|et i1_Gr|
|000042e0| 6f 77 49 74 65 6d 20 6f | 66 20 77 69 6e 64 6f 77 |owItem o|f window|
|000042f0| 20 22 53 6f 75 6e 64 20 | 50 69 63 6b 65 72 22 20 | "Sound |Picker" |
|00004300| 74 6f 20 74 72 75 65 0d | 65 6e 64 20 69 66 0d 65 |to true.|end if.e|
|00004310| 6e 64 20 73 6e 64 50 69 | 63 6b 65 72 0d 6f 6e 20 |nd sndPi|cker.on |
|00004320| 67 65 74 50 49 43 54 0d | 2d 2d 20 43 72 65 61 74 |getPICT.|-- Creat|
|00004330| 65 20 74 68 65 20 50 69 | 63 74 75 72 65 20 22 50 |e the Pi|cture "P|
|00004340| 69 63 6b 65 72 22 20 77 | 69 6e 64 6f 77 2e 0d 67 |icker" w|indow..g|
|00004350| 6c 6f 62 61 6c 20 6d 79 | 52 65 66 4e 75 6d 62 65 |lobal my|RefNumbe|
|00004360| 72 2c 49 43 4e 66 69 6c | 65 4e 61 6d 65 2c 70 4c |r,ICNfil|eName,pL|
|00004370| 69 73 74 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ist.if t|here is |
|00004380| 6e 6f 74 20 61 20 77 69 | 6e 64 6f 77 20 22 50 69 |not a wi|ndow "Pi|
|00004390| 63 74 75 72 65 20 50 69 | 63 6b 65 72 22 20 74 68 |cture Pi|cker" th|
|000043a0| 65 6e 0d 70 75 74 20 6c | 6f 63 61 74 65 46 28 29 |en.put l|ocateF()|
|000043b0| 20 26 20 22 44 61 74 61 | 3a 22 20 26 20 64 69 73 | & "Data|:" & dis|
|000043c0| 63 4e 61 6d 65 28 29 20 | 26 20 22 2e 52 65 73 6f |cName() |& ".Reso|
|000043d0| 75 72 63 65 73 22 20 69 | 6e 74 6f 20 49 43 4e 66 |urces" i|nto ICNf|
|000043e0| 69 6c 65 4e 61 6d 65 0d | 69 66 20 69 73 46 69 6c |ileName.|if isFil|
|000043f0| 65 28 49 43 4e 66 69 6c | 65 6e 61 6d 65 29 20 ad |e(ICNfil|ename) .|
|00004400| 20 54 52 55 45 20 74 68 | 65 6e 0d 70 75 74 20 74 | TRUE th|en.put t|
|00004410| 68 69 73 50 61 74 68 28 | 29 20 26 20 64 69 73 63 |hisPath(|) & disc|
|00004420| 4e 61 6d 65 28 29 20 26 | 20 22 2e 52 65 73 6f 75 |Name() &| ".Resou|
|00004430| 72 63 65 73 22 20 69 6e | 74 6f 20 49 43 4e 66 69 |rces" in|to ICNfi|
|00004440| 6c 65 4e 61 6d 65 0d 65 | 6e 64 20 69 66 0d 69 66 |leName.e|nd if.if|
|00004450| 20 69 73 46 69 6c 65 28 | 49 43 4e 66 69 6c 65 6e | isFile(|ICNfilen|
|00004460| 61 6d 65 29 20 61 6e 64 | 20 74 68 65 20 6f 70 74 |ame) and| the opt|
|00004470| 69 6f 6e 4b 65 79 20 3d | 20 55 50 20 74 68 65 6e |ionKey =| UP then|
|00004480| 0d 73 65 6e 64 20 63 68 | 65 63 6b 43 6f 6c 6f 72 |.send ch|eckColor|
|00004490| 20 74 6f 20 62 61 63 6b | 67 72 6f 75 6e 64 0d 67 | to back|ground.g|
|000044a0| 65 74 20 77 69 6e 64 6f | 77 53 63 72 69 70 74 28 |et windo|wScript(|
|000044b0| 22 50 69 63 74 75 72 65 | 20 50 69 63 6b 65 72 22 |"Picture| Picker"|
|000044c0| 29 0d 0d 70 75 74 20 52 | 65 73 6f 75 72 63 65 4c |)..put R|esourceL|
|000044d0| 69 73 74 28 49 43 4e 66 | 69 6c 65 4e 61 6d 65 2c |ist(ICNf|ileName,|
|000044e0| 22 49 43 4e 23 22 2c 22 | 49 44 22 29 20 69 6e 74 |"ICN#","|ID") int|
|000044f0| 6f 20 78 0d 70 75 74 20 | 72 65 73 46 69 6c 4f 70 |o x.put |resFilOp|
|00004500| 65 6e 28 49 43 4e 66 69 | 6c 65 4e 61 6d 65 29 20 |en(ICNfi|leName) |
|00004510| 69 6e 74 6f 20 6d 79 52 | 65 66 4e 75 6d 62 65 72 |into myR|efNumber|
|00004520| 0d 73 65 74 20 69 31 5f | 54 65 78 74 20 6f 66 20 |.set i1_|Text of |
|00004530| 77 69 6e 64 6f 77 20 22 | 50 69 63 74 75 72 65 20 |window "|Picture |
|00004540| 50 69 63 6b 65 72 22 20 | 74 6f 20 78 0d 73 65 74 |Picker" |to x.set|
|00004550| 20 69 31 5f 47 72 6f 77 | 49 74 65 6d 20 6f 66 20 | i1_Grow|Item of |
|00004560| 77 69 6e 64 6f 77 20 22 | 50 69 63 74 75 72 65 20 |window "|Picture |
|00004570| 50 69 63 6b 65 72 22 20 | 74 6f 20 74 72 75 65 0d |Picker" |to true.|
|00004580| 0d 65 6c 73 65 20 69 66 | 20 69 73 46 69 6c 65 28 |.else if| isFile(|
|00004590| 49 43 4e 66 69 6c 65 6e | 61 6d 65 29 20 61 6e 64 |ICNfilen|ame) and|
|000045a0| 20 74 68 65 20 6f 70 74 | 69 6f 6e 4b 65 79 20 3d | the opt|ionKey =|
|000045b0| 20 44 4f 57 4e 20 74 68 | 65 6e 0d 67 65 74 20 77 | DOWN th|en.get w|
|000045c0| 69 6e 64 6f 77 53 63 72 | 69 70 74 28 22 50 69 63 |indowScr|ipt("Pic|
|000045d0| 74 75 72 65 20 50 69 63 | 6b 65 72 22 29 0d 73 65 |ture Pic|ker").se|
|000045e0| 74 20 69 31 5f 53 74 79 | 6c 65 20 6f 66 20 77 69 |t i1_Sty|le of wi|
|000045f0| 6e 64 6f 77 20 22 50 69 | 63 74 75 72 65 20 50 69 |ndow "Pi|cture Pi|
|00004600| 63 6b 65 72 22 20 74 6f | 20 22 53 74 61 6e 64 61 |cker" to| "Standa|
|00004610| 72 64 22 0d 73 65 74 20 | 69 31 5f 54 65 78 74 20 |rd".set |i1_Text |
|00004620| 6f 66 20 77 69 6e 64 6f | 77 20 22 50 69 63 74 75 |of windo|w "Pictu|
|00004630| 72 65 20 50 69 63 6b 65 | 72 22 20 74 6f 20 70 4c |re Picke|r" to pL|
|00004640| 69 73 74 0d 73 65 74 20 | 69 31 5f 47 72 6f 77 49 |ist.set |i1_GrowI|
|00004650| 74 65 6d 20 6f 66 20 77 | 69 6e 64 6f 77 20 22 50 |tem of w|indow "P|
|00004660| 69 63 74 75 72 65 20 50 | 69 63 6b 65 72 22 20 74 |icture P|icker" t|
|00004670| 6f 20 74 72 75 65 0d 65 | 6c 73 65 20 69 66 20 74 |o true.e|lse if t|
|00004680| 68 65 20 6f 70 74 69 6f | 6e 4b 65 79 20 3d 20 55 |he optio|nKey = U|
|00004690| 50 20 74 68 65 6e 0d 67 | 65 74 20 77 69 6e 64 6f |P then.g|et windo|
|000046a0| 77 53 63 72 69 70 74 28 | 22 50 69 63 74 75 72 65 |wScript(|"Picture|
|000046b0| 20 50 69 63 6b 65 72 22 | 29 0d 73 65 74 20 69 31 | Picker"|).set i1|
|000046c0| 5f 53 74 79 6c 65 20 6f | 66 20 77 69 6e 64 6f 77 |_Style o|f window|
|000046d0| 20 22 50 69 63 74 75 72 | 65 20 50 69 63 6b 65 72 | "Pictur|e Picker|
|000046e0| 22 20 74 6f 20 22 53 74 | 61 6e 64 61 72 64 22 0d |" to "St|andard".|
|000046f0| 73 65 74 20 69 31 5f 54 | 65 78 74 20 6f 66 20 77 |set i1_T|ext of w|
|00004700| 69 6e 64 6f 77 20 22 50 | 69 63 74 75 72 65 20 50 |indow "P|icture P|
|00004710| 69 63 6b 65 72 22 20 74 | 6f 20 70 4c 69 73 74 0d |icker" t|o pList.|
|00004720| 73 65 74 20 69 31 5f 47 | 72 6f 77 49 74 65 6d 20 |set i1_G|rowItem |
|00004730| 6f 66 20 77 69 6e 64 6f | 77 20 22 50 69 63 74 75 |of windo|w "Pictu|
|00004740| 72 65 20 50 69 63 6b 65 | 72 22 20 74 6f 20 74 72 |re Picke|r" to tr|
|00004750| 75 65 0d 65 6c 73 65 0d | 73 65 6e 64 20 42 75 69 |ue.else.|send Bui|
|00004760| 6c 64 4c 69 73 74 4f 66 | 49 43 4e 73 20 74 6f 20 |ldListOf|ICNs to |
|00004770| 62 61 63 6b 67 72 6f 75 | 6e 64 0d 65 6e 64 20 69 |backgrou|nd.end i|
|00004780| 66 0d 65 6e 64 20 69 66 | 0d 65 6e 64 20 67 65 74 |f.end if|.end get|
|00004790| 50 49 43 54 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 74 |PICT..fu|nction t|
|000047a0| 68 69 73 70 61 74 68 0d | 67 65 74 20 74 68 65 20 |hispath.|get the |
|000047b0| 76 61 6c 75 65 20 6f 66 | 20 77 6f 72 64 20 32 20 |value of| word 2 |
|000047c0| 6f 66 20 74 68 65 20 6c | 6f 6e 67 20 6e 61 6d 65 |of the l|ong name|
|000047d0| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 64 | of this| stack.d|
|000047e0| 65 6c 65 74 65 20 63 68 | 61 72 20 28 6c 65 6e 67 |elete ch|ar (leng|
|000047f0| 74 68 20 6f 66 20 69 74 | 20 2d 20 6c 65 6e 67 74 |th of it| - lengt|
|00004800| 68 20 6f 66 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |h of sho|rt name |
|00004810| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 29 2b 31 |of this |stack)+1|
|00004820| 20 c2 0d 74 6f 20 28 4c | 65 6e 67 74 68 20 6f 66 | ..to (L|ength of|
|00004830| 20 69 74 29 20 6f 66 20 | 69 74 0d 70 75 74 20 69 | it) of |it.put i|
|00004840| 74 20 69 6e 74 6f 20 63 | 68 65 63 6b 50 61 74 68 |t into c|heckPath|
|00004850| 0d 72 65 74 75 72 6e 20 | 63 68 65 63 6b 50 61 74 |.return |checkPat|
|00004860| 68 0d 65 6e 64 20 74 68 | 69 73 70 61 74 68 0d 66 |h.end th|ispath.f|
|00004870| 75 6e 63 74 69 6f 6e 20 | 64 69 73 63 4e 61 6d 65 |unction |discName|
|00004880| 0d 67 65 74 20 4c 6f 63 | 61 74 65 46 28 29 0d 64 |.get Loc|ateF().d|
|00004890| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|000048a0| 6f 66 20 69 74 0d 72 65 | 74 75 72 6e 20 69 74 0d |of it.re|turn it.|
|000048b0| 65 6e 64 20 64 69 73 63 | 4e 61 6d 65 0d 0d 6f 6e |end disc|Name..on|
|000048c0| 20 73 6c 69 64 65 53 68 | 6f 77 0d 67 6c 6f 62 61 | slideSh|ow.globa|
|000048d0| 6c 20 69 66 53 6f 75 6e | 64 2c 74 68 65 4f 69 64 |l ifSoun|d,theOid|
|000048e0| 2c 70 61 6c 65 74 74 65 | 4e 61 6d 65 2c 69 66 53 |,palette|Name,ifS|
|000048f0| 6c 69 64 65 53 68 6f 77 | 0d 70 75 74 20 74 72 75 |lideShow|.put tru|
|00004900| 65 20 69 6e 74 6f 20 69 | 66 53 6c 69 64 65 53 68 |e into i|fSlideSh|
|00004910| 6f 77 20 2d 2d 20 55 73 | 65 64 20 69 6e 20 49 64 |ow -- Us|ed in Id|
|00004920| 6c 65 20 68 61 6e 64 6c | 65 72 2c 20 61 6d 6f 6e |le handl|er, amon|
|00004930| 67 20 6f 74 68 65 72 73 | 2e 0d 69 66 20 74 68 65 |g others|..if the|
|00004940| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 70 |re is a |window p|
|00004950| 61 6c 65 74 74 65 4e 61 | 6d 65 20 74 68 65 6e 0d |aletteNa|me then.|
|00004960| 68 69 64 65 20 77 69 6e | 64 6f 77 20 70 61 6c 65 |hide win|dow pale|
|00004970| 74 74 65 4e 61 6d 65 0d | 65 6e 64 20 69 66 0d 68 |tteName.|end if.h|
|00004980| 69 64 65 20 6d 65 6e 75 | 62 61 72 0d 72 65 70 65 |ide menu|bar.repe|
|00004990| 61 74 0d 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |at.if th|ere is a|
|000049a0| 20 77 69 6e 64 6f 77 20 | 74 68 65 4f 69 64 20 74 | window |theOid t|
|000049b0| 68 65 6e 20 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen clos|e window|
|000049c0| 20 74 68 65 4f 69 64 0d | 73 68 6f 77 4e 65 78 74 | theOid.|showNext|
|000049d0| 0d 69 66 20 74 68 65 20 | 6d 6f 75 73 65 43 6c 69 |.if the |mouseCli|
|000049e0| 63 6b 20 74 68 65 6e 20 | 65 78 69 74 20 72 65 70 |ck then |exit rep|
|000049f0| 65 61 74 0d 70 75 74 20 | 74 68 65 20 74 69 63 6b |eat.put |the tick|
|00004a00| 73 20 69 6e 74 6f 20 53 | 74 61 72 74 5f 54 69 63 |s into S|tart_Tic|
|00004a10| 6b 73 0d 72 65 70 65 61 | 74 0d 69 66 20 74 68 65 |ks.repea|t.if the|
|00004a20| 20 6d 6f 75 73 65 43 6c | 69 63 6b 20 74 68 65 6e | mouseCl|ick then|
|00004a30| 0d 70 75 74 20 66 61 6c | 73 65 20 69 6e 74 6f 20 |.put fal|se into |
|00004a40| 69 66 53 6c 69 64 65 53 | 68 6f 77 0d 70 6c 61 79 |ifSlideS|how.play|
|00004a50| 20 73 74 6f 70 0d 63 72 | 65 61 74 65 50 61 6c 65 | stop.cr|eatePale|
|00004a60| 74 74 65 0d 73 68 6f 77 | 20 77 69 6e 64 6f 77 20 |tte.show| window |
|00004a70| 70 61 6c 65 74 74 65 4e | 61 6d 65 0d 73 68 6f 77 |paletteN|ame.show|
|00004a80| 20 6d 65 6e 75 62 61 72 | 0d 65 78 69 74 20 73 6c | menubar|.exit sl|
|00004a90| 69 64 65 53 68 6f 77 0d | 65 6e 64 20 69 66 0d 69 |ideShow.|end if.i|
|00004aa0| 66 20 69 66 53 6f 75 6e | 64 20 74 68 65 6e 0d 69 |f ifSoun|d then.i|
|00004ab0| 66 20 74 68 65 20 73 6f | 75 6e 64 20 69 73 20 22 |f the so|und is "|
|00004ac0| 64 6f 6e 65 22 20 74 68 | 65 6e 0d 65 78 69 74 20 |done" th|en.exit |
|00004ad0| 72 65 70 65 61 74 0d 65 | 6e 64 20 69 66 0d 65 6c |repeat.e|nd if.el|
|00004ae0| 73 65 20 69 66 20 74 68 | 65 20 74 69 63 6b 73 20 |se if th|e ticks |
|00004af0| 2d 20 53 74 61 72 74 5f | 54 69 63 6b 73 20 3e 20 |- Start_|Ticks > |
|00004b00| 33 30 30 20 74 68 65 6e | 20 65 78 69 74 20 72 65 |300 then| exit re|
|00004b10| 70 65 61 74 0d 65 6e 64 | 20 72 65 70 65 61 74 0d |peat.end| repeat.|
|00004b20| 65 6e 64 20 72 65 70 65 | 61 74 0d 73 68 6f 77 20 |end repe|at.show |
|00004b30| 6d 65 6e 75 62 61 72 0d | 65 6e 64 20 73 6c 69 64 |menubar.|end slid|
|00004b40| 65 53 68 6f 77 0d 0d 6f | 6e 20 64 6f 41 62 6f 75 |eShow..o|n doAbou|
|00004b50| 74 0d 67 6c 6f 62 61 6c | 20 77 69 6e 64 6f 77 4e |t.global| windowN|
|00004b60| 61 6d 65 2c 20 6d 6f 76 | 69 65 50 6c 61 79 69 6e |ame, mov|iePlayin|
|00004b70| 67 0d 69 66 20 6d 6f 76 | 69 65 50 6c 61 79 69 6e |g.if mov|iePlayin|
|00004b80| 67 20 ad 20 54 52 55 45 | 20 74 68 65 6e 0d 67 65 |g . TRUE| then.ge|
|00004b90| 74 20 22 46 69 6c 65 3a | 22 20 26 26 20 77 69 6e |t "File:|" && win|
|00004ba0| 64 6f 77 4e 61 6d 65 0d | 6c 6f 6f 6b 55 70 20 69 |dowName.|lookUp i|
|00004bb0| 74 0d 67 65 74 54 65 78 | 74 6f 69 64 0d 65 6e 64 |t.getTex|toid.end|
|00004bc0| 20 69 66 0d 65 6e 64 20 | 64 6f 41 62 6f 75 74 0d | if.end |doAbout.|
|00004bd0| 0d 6f 6e 20 67 65 74 54 | 68 75 6d 62 0d 67 6c 6f |.on getT|humb.glo|
|00004be0| 62 61 6c 20 77 69 6e 64 | 6f 77 4e 61 6d 65 2c 20 |bal wind|owName, |
|00004bf0| 74 68 65 4f 69 64 2c 20 | 70 44 65 70 74 68 2c 20 |theOid, |pDepth, |
|00004c00| 70 53 69 7a 65 2c 20 70 | 53 74 79 6c 65 2c 54 68 |pSize, p|Style,Th|
|00004c10| 75 6d 62 53 74 79 6c 65 | 0d 69 66 20 74 68 65 72 |umbStyle|.if ther|
|00004c20| 65 20 69 73 20 61 20 77 | 69 6e 64 6f 77 20 77 69 |e is a w|indow wi|
|00004c30| 6e 64 6f 77 4e 61 6d 65 | 20 74 68 65 6e 20 63 6c |ndowName| then cl|
|00004c40| 6f 73 65 20 77 69 6e 64 | 6f 77 20 77 69 6e 64 6f |ose wind|ow windo|
|00004c50| 77 4e 61 6d 65 0d 70 75 | 74 20 22 20 54 68 75 6d |wName.pu|t " Thum|
|00004c60| 62 6e 61 69 6c 73 22 20 | 69 6e 74 6f 20 70 53 69 |bnails" |into pSi|
|00004c70| 7a 65 0d 70 75 74 20 54 | 68 75 6d 62 53 74 79 6c |ze.put T|humbStyl|
|00004c80| 65 20 69 6e 74 6f 20 70 | 53 74 79 6c 65 0d 69 66 |e into p|Style.if|
|00004c90| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00004ca0| 6f 77 20 74 68 65 4f 69 | 64 20 74 68 65 6e 20 63 |ow theOi|d then c|
|00004cb0| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 74 68 65 4f |lose win|dow theO|
|00004cc0| 69 64 0d 73 68 6f 77 50 | 69 63 74 75 72 65 0d 65 |id.showP|icture.e|
|00004cd0| 6e 64 20 67 65 74 54 68 | 75 6d 62 0d 6f 6e 20 67 |nd getTh|umb.on g|
|00004ce0| 65 74 53 6d 61 6c 6c 0d | 67 6c 6f 62 61 6c 20 77 |etSmall.|global w|
|00004cf0| 69 6e 64 6f 77 4e 61 6d | 65 2c 20 74 68 65 4f 69 |indowNam|e, theOi|
|00004d00| 64 2c 20 70 44 65 70 74 | 68 2c 20 70 53 69 7a 65 |d, pDept|h, pSize|
|00004d10| 2c 20 70 53 74 79 6c 65 | 2c 53 6d 61 6c 6c 53 74 |, pStyle|,SmallSt|
|00004d20| 79 6c 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |yle.if t|here is |
|00004d30| 61 20 77 69 6e 64 6f 77 | 20 77 69 6e 64 6f 77 4e |a window| windowN|
|00004d40| 61 6d 65 20 74 68 65 6e | 20 63 6c 6f 73 65 20 77 |ame then| close w|
|00004d50| 69 6e 64 6f 77 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |indow wi|ndowName|
|00004d60| 0d 70 75 74 20 22 20 28 | 73 6d 61 6c 6c 29 22 20 |.put " (|small)" |
|00004d70| 69 6e 74 6f 20 70 53 69 | 7a 65 0d 70 75 74 20 53 |into pSi|ze.put S|
|00004d80| 6d 61 6c 6c 53 74 79 6c | 65 20 69 6e 74 6f 20 70 |mallStyl|e into p|
|00004d90| 53 74 79 6c 65 0d 69 66 | 20 74 68 65 72 65 20 69 |Style.if| there i|
|00004da0| 73 20 61 20 77 69 6e 64 | 6f 77 20 74 68 65 4f 69 |s a wind|ow theOi|
|00004db0| 64 20 74 68 65 6e 20 63 | 6c 6f 73 65 20 77 69 6e |d then c|lose win|
|00004dc0| 64 6f 77 20 74 68 65 4f | 69 64 0d 73 68 6f 77 50 |dow theO|id.showP|
|00004dd0| 69 63 74 75 72 65 0d 65 | 6e 64 20 67 65 74 53 6d |icture.e|nd getSm|
|00004de0| 61 6c 6c 0d 6f 6e 20 67 | 65 74 46 75 6c 6c 0d 67 |all.on g|etFull.g|
|00004df0| 6c 6f 62 61 6c 20 77 69 | 6e 64 6f 77 4e 61 6d 65 |lobal wi|ndowName|
|00004e00| 2c 20 74 68 65 4f 69 64 | 2c 20 70 44 65 70 74 68 |, theOid|, pDepth|
|00004e10| 2c 20 70 53 69 7a 65 2c | 20 70 53 74 79 6c 65 2c |, pSize,| pStyle,|
|00004e20| 46 75 6c 6c 53 74 79 6c | 65 0d 69 66 20 74 68 65 |FullStyl|e.if the|
|00004e30| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 77 |re is a |window w|
|00004e40| 69 6e 64 6f 77 4e 61 6d | 65 20 74 68 65 6e 20 63 |indowNam|e then c|
|00004e50| 6c 6f 73 65 20 77 69 6e | 64 6f 77 20 77 69 6e 64 |lose win|dow wind|
|00004e60| 6f 77 4e 61 6d 65 0d 70 | 75 74 20 65 6d 70 74 79 |owName.p|ut empty|
|00004e70| 20 69 6e 74 6f 20 70 53 | 69 7a 65 20 2d 2d 20 4d | into pS|ize -- M|
|00004e80| 61 6e 79 20 6f 74 68 65 | 72 20 68 61 6e 64 6c 65 |any othe|r handle|
|00004e90| 72 73 20 61 73 73 75 6d | 65 20 70 53 69 7a 65 20 |rs assum|e pSize |
|00004ea0| 69 73 20 65 6d 70 74 79 | 20 77 68 65 6e 20 73 74 |is empty| when st|
|00004eb0| 79 6c 65 20 69 73 20 46 | 75 6c 6c 2e 0d 70 75 74 |yle is F|ull..put|
|00004ec0| 20 46 75 6c 6c 53 74 79 | 6c 65 20 69 6e 74 6f 20 | FullSty|le into |
|00004ed0| 70 53 74 79 6c 65 0d 69 | 66 20 74 68 65 72 65 20 |pStyle.i|f there |
|00004ee0| 69 73 20 61 20 77 69 6e | 64 6f 77 20 74 68 65 4f |is a win|dow theO|
|00004ef0| 69 64 20 74 68 65 6e 20 | 63 6c 6f 73 65 20 77 69 |id then |close wi|
|00004f00| 6e 64 6f 77 20 74 68 65 | 4f 69 64 0d 73 68 6f 77 |ndow the|Oid.show|
|00004f10| 50 69 63 74 75 72 65 0d | 65 6e 64 20 67 65 74 46 |Picture.|end getF|
|00004f20| 75 6c 6c 0d 0d 6f 6e 20 | 70 6c 61 79 51 54 0d 67 |ull..on |playQT.g|
|00004f30| 6c 6f 62 61 6c 20 51 54 | 46 6c 69 63 6b 2c 6d 6f |lobal QT|Flick,mo|
|00004f40| 76 69 65 50 6c 61 79 69 | 6e 67 2c 6e 6f 77 50 6c |viePlayi|ng,nowPl|
|00004f50| 61 79 69 6e 67 2c 20 6d | 6f 76 69 65 4c 69 73 74 |aying, m|ovieList|
|00004f60| 0d 70 75 74 20 46 6f 6c | 64 65 72 43 6f 6e 74 65 |.put Fol|derConte|
|00004f70| 6e 74 73 28 6c 6f 63 61 | 74 65 46 28 22 4d 6f 76 |nts(loca|teF("Mov|
|00004f80| 69 65 73 22 29 20 26 20 | 22 4d 6f 76 69 65 73 3a |ies") & |"Movies:|
|00004f90| 22 2c 66 69 6c 65 73 2c | 22 6e 6f 44 69 61 6c 6f |",files,|"noDialo|
|00004fa0| 67 22 29 20 69 6e 74 6f | 20 51 54 6c 69 73 74 0d |g") into| QTlist.|
|00004fb0| 69 66 20 51 54 6c 69 73 | 74 20 63 6f 6e 74 61 69 |if QTlis|t contai|
|00004fc0| 6e 73 20 22 53 6f 72 72 | 79 22 20 74 68 65 6e 0d |ns "Sorr|y" then.|
|00004fd0| 61 6e 73 77 65 72 20 22 | 53 6f 72 72 79 2c 20 6e |answer "|Sorry, n|
|00004fe0| 6f 20 51 75 69 63 6b 54 | 69 6d 65 aa 20 6d 6f 76 |o QuickT|ime. mov|
|00004ff0| 69 65 73 20 77 65 72 65 | 20 66 6f 75 6e 64 2e 22 |ies were| found."|
|00005000| 0d 65 6c 73 65 0d 6b 69 | 6c 6c 4f 70 65 6e 4d 6f |.else.ki|llOpenMo|
|00005010| 76 69 65 73 0d 70 75 74 | 20 54 52 55 45 20 69 6e |vies.put| TRUE in|
|00005020| 74 6f 20 6d 6f 76 69 65 | 50 6c 61 79 69 6e 67 0d |to movie|Playing.|
|00005030| 2d 2d 20 69 66 20 74 68 | 65 72 65 20 69 73 20 61 |-- if th|ere is a|
|00005040| 20 77 69 6e 64 6f 77 20 | 22 4d 6f 76 69 65 20 50 | window |"Movie P|
|00005050| 69 63 6b 65 72 22 20 74 | 68 65 6e 20 70 75 74 20 |icker" t|hen put |
|00005060| 22 32 37 33 2c 31 34 36 | 22 20 69 6e 74 6f 20 4d |"273,146|" into M|
|00005070| 6f 6f 56 6c 6f 63 0d 70 | 75 74 20 6d 61 69 6e 20 |ooVloc.p|ut main |
|00005080| 69 6e 74 6f 20 4d 6f 6f | 56 6c 6f 63 0d 69 66 20 |into Moo|Vloc.if |
|00005090| 77 6f 72 64 20 33 20 6f | 66 20 69 32 37 5f 4e 61 |word 3 o|f i27_Na|
|000050a0| 6d 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 4d 6f |me of wi|ndow "Mo|
|000050b0| 76 69 65 20 50 69 63 6b | 65 72 22 20 3c 3e 20 46 |vie Pick|er" <> F|
|000050c0| 41 4c 53 45 20 74 68 65 | 6e 0d 69 66 20 74 68 65 |ALSE the|n.if the|
|000050d0| 72 65 20 69 73 20 61 20 | 77 69 6e 64 6f 77 20 22 |re is a |window "|
|000050e0| 4d 6f 76 69 65 20 50 69 | 63 6b 65 72 22 20 74 68 |Movie Pi|cker" th|
|000050f0| 65 6e 0d 68 69 64 65 20 | 77 69 6e 64 6f 77 20 22 |en.hide |window "|
|00005100| 4d 6f 76 69 65 20 50 69 | 63 6b 65 72 22 0d 65 6e |Movie Pi|cker".en|
|00005110| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 70 75 74 20 |d if.end| if.put |
|00005120| 6e 6f 77 50 6c 61 79 69 | 6e 67 20 26 20 72 65 74 |nowPlayi|ng & ret|
|00005130| 75 72 6e 20 61 66 74 65 | 72 20 6d 6f 76 69 65 4c |urn afte|r movieL|
|00005140| 69 73 74 0d 51 54 4d 6f | 76 69 65 20 6f 70 65 6e |ist.QTMo|vie open|
|00005150| 4d 6f 76 69 65 2c 54 61 | 6c 6c 57 69 6e 64 6f 69 |Movie,Ta|llWindoi|
|00005160| 64 2c 6c 6f 63 61 74 65 | 46 28 22 4d 6f 76 69 65 |d,locate|F("Movie|
|00005170| 73 22 29 20 26 20 22 4d | 6f 76 69 65 73 3a 22 20 |s") & "M|ovies:" |
|00005180| 26 20 6e 6f 77 50 6c 61 | 79 69 6e 67 2c 4d 6f 6f |& nowPla|ying,Moo|
|00005190| 56 6c 6f 63 0d 0d 69 66 | 20 74 68 65 20 72 65 73 |Vloc..if| the res|
|000051a0| 75 6c 74 20 63 6f 6e 74 | 61 69 6e 73 20 22 45 72 |ult cont|ains "Er|
|000051b0| 72 6f 72 22 20 74 68 65 | 6e 0d 61 6e 73 77 65 72 |ror" the|n.answer|
|000051c0| 20 22 51 75 69 63 6b 54 | 69 6d 65 20 31 2e 36 20 | "QuickT|ime 1.6 |
|000051d0| 6f 72 20 6c 61 74 65 72 | 20 6d 75 73 74 20 62 65 |or later| must be|
|000051e0| 20 69 6e 73 74 61 6c 6c | 65 64 20 74 6f 20 70 6c | install|ed to pl|
|000051f0| 61 79 20 74 68 65 20 6d | 6f 76 69 65 73 2e 20 20 |ay the m|ovies. |
|00005200| 22 20 26 20 c2 0d 22 44 | 72 61 67 20 74 68 65 20 |" & .."D|rag the |
|00005210| 51 75 69 63 6b 54 69 6d | 65 20 65 78 74 65 6e 73 |QuickTim|e extens|
|00005220| 69 6f 6e 20 66 72 6f 6d | 20 74 68 65 20 43 44 20 |ion from| the CD |
|00005230| 69 6e 74 6f 20 79 6f 75 | 72 20 53 79 73 74 65 6d |into you|r System|
|00005240| 20 46 6f 6c 64 65 72 20 | 61 6e 64 20 72 65 73 74 | Folder |and rest|
|00005250| 61 72 74 2e 22 20 77 69 | 74 68 20 22 4f 4b 22 0d |art." wi|th "OK".|
|00005260| 6d 6f 76 69 65 43 6c 6f | 73 65 64 0d 65 6c 73 65 |movieClo|sed.else|
|00005270| 0d 73 65 74 20 57 69 6e | 64 6f 77 43 6c 6f 73 65 |.set Win|dowClose|
|00005280| 4d 73 67 20 6f 66 20 77 | 69 6e 64 6f 77 20 6e 6f |Msg of w|indow no|
|00005290| 77 50 6c 61 79 69 6e 67 | 20 74 6f 20 6d 6f 76 69 |wPlaying| to movi|
|000052a0| 65 43 6c 6f 73 65 64 0d | 65 6e 64 20 69 66 0d 65 |eClosed.|end if.e|
|000052b0| 6e 64 20 69 66 0d 65 6e | 64 20 70 6c 61 79 51 54 |nd if.en|d playQT|
|000052c0| 0d 0d 6f 6e 20 6d 6f 76 | 69 65 43 6c 6f 73 65 64 |..on mov|ieClosed|
|000052d0| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|000052e0| 69 6e 64 6f 77 20 22 4d | 6f 76 69 65 20 50 69 63 |indow "M|ovie Pic|
|000052f0| 6b 65 72 22 20 74 68 65 | 6e 20 73 68 6f 77 20 77 |ker" the|n show w|
|00005300| 69 6e 64 6f 77 20 22 4d | 6f 76 69 65 20 50 69 63 |indow "M|ovie Pic|
|00005310| 6b 65 72 22 0d 65 6e 64 | 20 6d 6f 76 69 65 43 6c |ker".end| movieCl|
|00005320| 6f 73 65 64 0d 0d 6f 6e | 20 6b 69 6c 6c 4f 70 65 |osed..on| killOpe|
|00005330| 6e 4d 6f 76 69 65 73 0d | 67 6c 6f 62 61 6c 20 6d |nMovies.|global m|
|00005340| 6f 76 69 65 4c 69 73 74 | 0d 72 65 70 65 61 74 20 |ovieList|.repeat |
|00005350| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|00005360| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 6c 69 6e 65 |e number| of line|
|00005370| 73 20 6f 66 20 6d 6f 76 | 69 65 4c 69 73 74 0d 69 |s of mov|ieList.i|
|00005380| 66 20 74 68 65 72 65 20 | 69 73 20 61 20 77 69 6e |f there |is a win|
|00005390| 64 6f 77 20 6c 69 6e 65 | 20 69 20 6f 66 20 6d 6f |dow line| i of mo|
|000053a0| 76 69 65 4c 69 73 74 20 | 74 68 65 6e 20 63 6c 6f |vieList |then clo|
|000053b0| 73 65 20 77 69 6e 64 6f | 77 20 6c 69 6e 65 20 69 |se windo|w line i|
|000053c0| 20 6f 66 20 6d 6f 76 69 | 65 4c 69 73 74 0d 65 6e | of movi|eList.en|
|000053d0| 64 20 72 65 70 65 61 74 | 0d 70 75 74 20 65 6d 70 |d repeat|.put emp|
|000053e0| 74 79 20 69 6e 74 6f 20 | 6d 6f 76 69 65 4c 69 73 |ty into |movieLis|
|000053f0| 74 0d 65 6e 64 20 6b 69 | 6c 6c 4f 70 65 6e 4d 6f |t.end ki|llOpenMo|
|00005400| 76 69 65 73 0d 6f 6e 20 | 51 54 63 6c 6f 73 65 0d |vies.on |QTclose.|
|00005410| 67 6c 6f 62 61 6c 20 6d | 6f 76 69 65 50 6c 61 79 |global m|oviePlay|
|00005420| 69 6e 67 0d 70 75 74 20 | 46 41 4c 53 45 20 69 6e |ing.put |FALSE in|
|00005430| 74 6f 20 6d 6f 76 69 65 | 50 6c 61 79 69 6e 67 0d |to movie|Playing.|
|00005440| 65 6e 64 20 51 54 63 6c | 6f 73 65 0d 0d 2d 2d a5 |end QTcl|ose..--.|
|00005450| 20 54 65 78 74 6f 69 64 | 0d 6f 6e 20 6f 70 65 6e | Textoid|.on open|
|00005460| 54 65 78 74 6f 69 64 20 | 77 68 69 63 68 0d 67 6c |Textoid |which.gl|
|00005470| 6f 62 61 6c 20 74 68 65 | 4f 69 64 2c 20 6f 69 64 |obal the|Oid, oid|
|00005480| 52 65 63 74 0d 70 75 74 | 20 77 68 69 63 68 20 69 |Rect.put| which i|
|00005490| 6e 74 6f 20 74 68 65 4f | 69 64 0d 69 66 20 6f 69 |nto theO|id.if oi|
|000054a0| 64 52 65 63 74 20 3d 20 | 65 6d 70 74 79 20 74 68 |dRect = |empty th|
|000054b0| 65 6e 0d 73 65 74 20 74 | 68 65 20 67 6c 6f 62 61 |en.set t|he globa|
|000054c0| 6c 52 65 63 74 20 6f 66 | 20 77 69 6e 64 6f 77 20 |lRect of| window |
|000054d0| 74 68 65 4f 69 64 20 74 | 6f 20 22 31 39 36 2c 33 |theOid t|o "196,3|
|000054e0| 32 2c 34 34 36 2c 31 31 | 33 22 0d 65 6c 73 65 0d |2,446,11|3".else.|
|000054f0| 73 65 74 20 74 68 65 20 | 67 6c 6f 62 61 6c 52 65 |set the |globalRe|
|00005500| 63 74 20 6f 66 20 77 69 | 6e 64 6f 77 20 74 68 65 |ct of wi|ndow the|
|00005510| 4f 69 64 20 74 6f 20 6f | 69 64 52 65 63 74 0d 65 |Oid to o|idRect.e|
|00005520| 6e 64 20 69 66 0d 65 6e | 64 20 6f 70 65 6e 54 65 |nd if.en|d openTe|
|00005530| 78 74 6f 69 64 0d 0d 6f | 6e 20 63 6c 6f 73 65 54 |xtoid..o|n closeT|
|00005540| 65 78 74 6f 69 64 20 77 | 68 69 63 68 0d 67 6c 6f |extoid w|hich.glo|
|00005550| 62 61 6c 20 74 68 65 4f | 69 64 2c 20 6f 69 64 52 |bal theO|id, oidR|
|00005560| 65 63 74 0d 70 75 74 20 | 74 68 65 20 67 6c 6f 62 |ect.put |the glob|
|00005570| 61 6c 52 65 63 74 20 6f | 66 20 77 69 6e 64 6f 77 |alRect o|f window|
|00005580| 20 74 68 65 4f 69 64 20 | 69 6e 74 6f 20 6f 69 64 | theOid |into oid|
|00005590| 52 65 63 74 0d 70 75 74 | 20 65 6d 70 74 79 20 69 |Rect.put| empty i|
|000055a0| 6e 74 6f 20 74 68 65 4f | 69 64 0d 65 6e 64 20 63 |nto theO|id.end c|
|000055b0| 6c 6f 73 65 54 65 78 74 | 6f 69 64 0d 0d 6f 6e 20 |loseText|oid..on |
|000055c0| 67 65 74 54 65 78 74 6f | 69 64 0d 67 6c 6f 62 61 |getTexto|id.globa|
|000055d0| 6c 20 74 68 65 44 61 74 | 61 2c 20 67 49 6e 66 6f |l theDat|a, gInfo|
|000055e0| 57 69 6e 64 6f 77 0d 70 | 75 74 20 28 6c 69 6e 65 |Window.p|ut (line|
|000055f0| 20 31 20 6f 66 20 74 68 | 65 44 61 74 61 29 20 26 | 1 of th|eData) &|
|00005600| 26 20 22 49 6e 66 6f 22 | 20 69 6e 74 6f 20 67 49 |& "Info"| into gI|
|00005610| 6e 66 6f 57 69 6e 64 6f | 77 0d 64 65 6c 65 74 65 |nfoWindo|w.delete|
|00005620| 20 63 68 61 72 20 31 20 | 74 6f 20 36 20 6f 66 20 | char 1 |to 6 of |
|00005630| 67 49 6e 66 6f 57 69 6e | 64 6f 77 0d 69 66 20 74 |gInfoWin|dow.if t|
|00005640| 68 65 72 65 20 69 73 20 | 6e 6f 74 20 61 20 77 69 |here is |not a wi|
|00005650| 6e 64 6f 77 20 67 49 6e | 66 6f 57 69 6e 64 6f 77 |ndow gIn|foWindow|
|00005660| 20 74 68 65 6e 0d 54 65 | 78 74 6f 69 64 20 67 49 | then.Te|xtoid gI|
|00005670| 6e 66 6f 57 69 6e 64 6f | 77 2c 74 68 65 44 61 74 |nfoWindo|w,theDat|
|00005680| 61 2c 22 47 65 6e 65 76 | 61 22 2c 22 39 22 0d 65 |a,"Genev|a","9".e|
|00005690| 6c 73 65 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |lse.clos|e window|
|000056a0| 20 67 49 6e 66 6f 57 69 | 6e 64 6f 77 0d 65 6e 64 | gInfoWi|ndow.end|
|000056b0| 20 69 66 0d 74 65 73 74 | 45 72 72 6f 72 20 74 68 | if.test|Error th|
|000056c0| 65 20 52 65 73 75 6c 74 | 0d 65 6e 64 20 67 65 74 |e Result|.end get|
|000056d0| 54 65 78 74 6f 69 64 0d | 0d 6f 6e 20 54 65 73 74 |Textoid.|.on Test|
|000056e0| 45 72 72 6f 72 20 57 68 | 61 74 0d 69 66 20 57 68 |Error Wh|at.if Wh|
|000056f0| 61 74 20 ad 20 65 6d 70 | 74 79 0d 74 68 65 6e 0d |at . emp|ty.then.|
|00005700| 62 65 65 70 0d 61 6e 73 | 77 65 72 20 57 68 61 74 |beep.ans|wer What|
|00005710| 0d 65 78 69 74 20 74 6f | 20 48 79 70 65 72 43 61 |.exit to| HyperCa|
|00005720| 72 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 54 65 |rd.end i|f.end Te|
|00005730| 73 74 45 72 72 6f 72 0d | 0d 2d 2d a5 20 46 69 6e |stError.|.--. Fin|
|00005740| 64 0d 6f 6e 20 61 72 69 | 73 46 69 6e 64 20 2d 2d |d.on ari|sFind --|
|00005750| 20 52 65 61 64 73 20 22 | 64 61 74 61 3a 61 72 69 | Reads "|data:ari|
|00005760| 73 2e 64 61 74 61 22 20 | 69 6e 74 6f 20 67 6c 6f |s.data" |into glo|
|00005770| 62 61 6c 20 73 65 61 72 | 63 68 4d 65 0d 67 6c 6f |bal sear|chMe.glo|
|00005780| 62 61 6c 20 73 65 61 72 | 63 68 4d 65 0d 70 75 74 |bal sear|chMe.put|
|00005790| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 73 65 61 72 | empty i|nto sear|
|000057a0| 63 68 4d 65 0d 70 75 74 | 20 6c 6f 63 61 74 65 46 |chMe.put| locateF|
|000057b0| 28 29 20 26 20 22 64 61 | 74 61 3a 61 72 69 73 2e |() & "da|ta:aris.|
|000057c0| 64 61 74 61 22 20 69 6e | 74 6f 20 66 69 6c 65 4e |data" in|to fileN|
|000057d0| 61 6d 65 0d 6f 70 65 6e | 20 66 69 6c 65 20 66 69 |ame.open| file fi|
|000057e0| 6c 65 4e 61 6d 65 0d 72 | 65 70 65 61 74 0d 72 65 |leName.r|epeat.re|
|000057f0| 61 64 20 66 72 6f 6d 20 | 66 69 6c 65 20 66 69 6c |ad from |file fil|
|00005800| 65 4e 61 6d 65 20 66 6f | 72 20 31 36 33 38 34 20 |eName fo|r 16384 |
|00005810| 2d 2d 20 6d 61 78 20 49 | 2f 4f 20 62 75 66 66 65 |-- max I|/O buffe|
|00005820| 72 0d 70 75 74 20 69 74 | 20 61 66 74 65 72 20 73 |r.put it| after s|
|00005830| 65 61 72 63 68 4d 65 0d | 69 66 20 69 74 20 3d 20 |earchMe.|if it = |
|00005840| 65 6d 70 74 79 20 74 68 | 65 6e 20 65 78 69 74 20 |empty th|en exit |
|00005850| 72 65 70 65 61 74 0d 65 | 6e 64 20 72 65 70 65 61 |repeat.e|nd repea|
|00005860| 74 0d 63 6c 6f 73 65 20 | 66 69 6c 65 20 66 69 6c |t.close |file fil|
|00005870| 65 4e 61 6d 65 0d 65 6e | 64 20 61 72 69 73 46 69 |eName.en|d arisFi|
|00005880| 6e 64 0d 0d 6f 6e 20 6c | 6f 6f 6b 55 70 20 78 0d |nd..on l|ookUp x.|
|00005890| 67 6c 6f 62 61 6c 20 74 | 68 65 44 61 74 61 2c 20 |global t|heData, |
|000058a0| 77 69 6e 64 6f 77 4e 61 | 6d 65 0d 70 75 74 20 6c |windowNa|me.put l|
|000058b0| 6f 63 61 74 65 46 28 29 | 20 26 20 22 64 61 74 61 |ocateF()| & "data|
|000058c0| 3a 61 72 69 73 2e 64 61 | 74 61 22 20 69 6e 74 6f |:aris.da|ta" into|
|000058d0| 20 66 69 6c 65 4e 61 6d | 65 0d 70 75 74 20 65 6d | fileNam|e.put em|
|000058e0| 70 74 79 20 69 6e 74 6f | 20 74 68 65 44 61 74 61 |pty into| theData|
|000058f0| 0d 6f 70 65 6e 20 66 69 | 6c 65 20 66 69 6c 65 4e |.open fi|le fileN|
|00005900| 61 6d 65 0d 72 65 70 65 | 61 74 0d 72 65 61 64 20 |ame.repe|at.read |
|00005910| 66 72 6f 6d 20 66 69 6c | 65 20 66 69 6c 65 4e 61 |from fil|e fileNa|
|00005920| 6d 65 20 66 6f 72 20 31 | 36 33 38 34 0d 70 75 74 |me for 1|6384.put|
|00005930| 20 69 74 20 61 66 74 65 | 72 20 74 68 65 44 61 74 | it afte|r theDat|
|00005940| 61 0d 69 66 20 69 74 20 | 3d 20 65 6d 70 74 79 20 |a.if it |= empty |
|00005950| 74 68 65 6e 20 65 78 69 | 74 20 72 65 70 65 61 74 |then exi|t repeat|
|00005960| 0d 65 6e 64 20 72 65 70 | 65 61 74 0d 63 6c 6f 73 |.end rep|eat.clos|
|00005970| 65 20 66 69 6c 65 20 66 | 69 6c 65 6e 61 6d 65 0d |e file f|ilename.|
|00005980| 66 69 6e 64 49 6e 58 43 | 4d 44 20 74 68 65 44 61 |findInXC|MD theDa|
|00005990| 74 61 2c 78 2c 31 2c 46 | 41 4c 53 45 0d 67 65 74 |ta,x,1,F|ALSE.get|
|000059a0| 20 74 68 65 20 72 65 73 | 75 6c 74 0d 2d 2d 70 75 | the res|ult.--pu|
|000059b0| 74 20 69 74 0d 70 75 74 | 20 69 74 65 6d 20 34 20 |t it.put| item 4 |
|000059c0| 6f 66 20 69 74 20 69 6e | 74 6f 20 73 74 61 72 74 |of it in|to start|
|000059d0| 43 68 61 72 0d 66 69 6e | 64 49 6e 58 43 4d 44 20 |Char.fin|dInXCMD |
|000059e0| 74 68 65 44 61 74 61 2c | 22 c5 22 2c 73 74 61 72 |theData,|".",star|
|000059f0| 74 43 68 61 72 2c 46 41 | 4c 53 45 0d 70 75 74 20 |tChar,FA|LSE.put |
|00005a00| 69 74 65 6d 20 35 20 6f | 66 20 74 68 65 20 72 65 |item 5 o|f the re|
|00005a10| 73 75 6c 74 20 69 6e 74 | 6f 20 65 6e 64 43 68 61 |sult int|o endCha|
|00005a20| 72 0d 67 65 74 20 63 68 | 61 72 20 73 74 61 72 74 |r.get ch|ar start|
|00005a30| 43 68 61 72 20 74 6f 20 | 65 6e 64 43 68 61 72 20 |Char to |endChar |
|00005a40| 6f 66 20 74 68 65 44 61 | 74 61 0d 64 65 6c 65 74 |of theDa|ta.delet|
|00005a50| 65 20 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 69 |e last l|ine of i|
|00005a60| 74 20 2d 2d 20 6b 69 6c | 6c 20 22 c5 22 0d 69 66 |t -- kil|l ".".if|
|00005a70| 20 6c 61 73 74 20 63 68 | 61 72 20 6f 66 20 69 74 | last ch|ar of it|
|00005a80| 20 3d 20 72 65 74 75 72 | 6e 20 74 68 65 6e 20 64 | = retur|n then d|
|00005a90| 65 6c 65 74 65 20 6c 61 | 73 74 20 63 68 61 72 20 |elete la|st char |
|00005aa0| 6f 66 20 69 74 20 2d 2d | 20 6b 69 6c 6c 20 72 65 |of it --| kill re|
|00005ab0| 74 75 72 6e 0d 70 75 74 | 20 69 74 20 69 6e 74 6f |turn.put| it into|
|00005ac0| 20 74 68 65 64 61 74 61 | 0d 65 6e 64 20 6c 6f 6f | thedata|.end loo|
|00005ad0| 6b 55 70 0d 0d 2d 2d a5 | 20 53 6f 75 6e 64 0d 6f |kUp..--.| Sound.o|
|00005ae0| 6e 20 63 68 65 63 6b 53 | 6e 64 0d 67 6c 6f 62 61 |n checkS|nd.globa|
|00005af0| 6c 20 69 66 53 6f 75 6e | 64 0d 73 65 6e 64 20 65 |l ifSoun|d.send e|
|00005b00| 78 74 72 61 63 74 50 72 | 65 66 73 20 74 6f 20 62 |xtractPr|efs to b|
|00005b10| 61 63 6b 67 72 6f 75 6e | 64 0d 69 66 20 69 66 53 |ackgroun|d.if ifS|
|00005b20| 6f 75 6e 64 20 3d 20 54 | 52 55 45 20 74 68 65 6e |ound = T|RUE then|
|00005b30| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 6d |.if ther|e is a m|
|00005b40| 65 6e 75 20 22 4f 70 74 | 69 6f 6e 73 22 20 74 68 |enu "Opt|ions" th|
|00005b50| 65 6e 0d 73 65 74 20 63 | 68 65 63 6b 4d 61 72 6b |en.set c|heckMark|
|00005b60| 20 6f 66 20 6d 65 6e 75 | 49 74 65 6d 20 22 53 6f | of menu|Item "So|
|00005b70| 75 6e 64 22 20 6f 66 20 | 6d 65 6e 75 20 22 4f 70 |und" of |menu "Op|
|00005b80| 74 69 6f 6e 73 22 20 74 | 6f 20 74 72 75 65 0d 65 |tions" t|o true.e|
|00005b90| 6e 64 20 69 66 0d 65 6c | 73 65 20 69 66 20 74 68 |nd if.el|se if th|
|00005ba0| 65 72 65 20 69 73 20 61 | 20 6d 65 6e 75 20 22 41 |ere is a| menu "A|
|00005bb0| 72 69 73 aa 22 20 74 68 | 65 6e 0d 73 65 74 20 63 |ris." th|en.set c|
|00005bc0| 68 65 63 6b 4d 61 72 6b | 20 6f 66 20 6d 65 6e 75 |heckMark| of menu|
|00005bd0| 49 74 65 6d 20 22 53 6f | 75 6e 64 22 20 6f 66 20 |Item "So|und" of |
|00005be0| 6d 65 6e 75 20 22 4f 70 | 74 69 6f 6e 73 22 20 74 |menu "Op|tions" t|
|00005bf0| 6f 20 66 61 6c 73 65 0d | 65 6e 64 20 69 66 0d 65 |o false.|end if.e|
|00005c00| 6e 64 20 63 68 65 63 6b | 53 6e 64 0d 2d 2d a5 20 |nd check|Snd.--. |
|00005c10| 49 6e 66 6f 0d 6f 6e 20 | 63 68 65 63 6b 49 6e 66 |Info.on |checkInf|
|00005c20| 6f 0d 67 6c 6f 62 61 6c | 20 69 66 49 6e 66 6f 0d |o.global| ifInfo.|
|00005c30| 73 65 6e 64 20 65 78 74 | 72 61 63 74 50 72 65 66 |send ext|ractPref|
|00005c40| 73 20 74 6f 20 62 61 63 | 6b 67 72 6f 75 6e 64 0d |s to bac|kground.|
|00005c50| 69 66 20 69 66 49 6e 66 | 6f 20 3d 20 54 52 55 45 |if ifInf|o = TRUE|
|00005c60| 20 74 68 65 6e 0d 73 65 | 74 20 63 68 65 63 6b 4d | then.se|t checkM|
|00005c70| 61 72 6b 20 6f 66 20 6d | 65 6e 75 49 74 65 6d 20 |ark of m|enuItem |
|00005c80| 22 50 69 63 74 75 72 65 | 20 49 6e 66 6f 22 20 6f |"Picture| Info" o|
|00005c90| 66 20 6d 65 6e 75 20 22 | 4f 70 74 69 6f 6e 73 22 |f menu "|Options"|
|00005ca0| 20 74 6f 20 74 72 75 65 | 0d 65 6c 73 65 20 73 65 | to true|.else se|
|00005cb0| 74 20 63 68 65 63 6b 4d | 61 72 6b 20 6f 66 20 6d |t checkM|ark of m|
|00005cc0| 65 6e 75 49 74 65 6d 20 | 22 50 69 63 74 75 72 65 |enuItem |"Picture|
|00005cd0| 20 49 6e 66 6f 22 20 6f | 66 20 6d 65 6e 75 20 22 | Info" o|f menu "|
|00005ce0| 4f 70 74 69 6f 6e 73 22 | 20 74 6f 20 66 61 6c 73 |Options"| to fals|
|00005cf0| 65 0d 65 6e 64 20 63 68 | 65 63 6b 49 6e 66 6f 0d |e.end ch|eckInfo.|
|00005d00| 0d 2d 2d a5 20 50 72 65 | 66 65 72 65 6e 63 65 73 |.--. Pre|ferences|
|00005d10| 0d 0d 6f 6e 20 77 72 69 | 74 65 50 72 65 66 73 0d |..on wri|tePrefs.|
|00005d20| 67 6c 6f 62 61 6c 20 74 | 68 65 44 61 74 61 0d 63 |global t|heData.c|
|00005d30| 72 65 61 74 65 46 6f 6c | 64 65 72 20 53 79 73 74 |reateFol|der Syst|
|00005d40| 65 6d 50 61 74 68 28 29 | 20 26 20 22 50 72 65 66 |emPath()| & "Pref|
|00005d50| 65 72 65 6e 63 65 73 22 | 20 2d 2d 20 64 6f 65 73 |erences"| -- does|
|00005d60| 20 6e 6f 74 68 69 6e 67 | 20 69 66 20 69 74 20 65 | nothing| if it e|
|00005d70| 78 69 73 74 73 0d 70 75 | 74 20 53 79 73 74 65 6d |xists.pu|t System|
|00005d80| 50 61 74 68 28 29 20 26 | 20 22 50 72 65 66 65 72 |Path() &| "Prefer|
|00005d90| 65 6e 63 65 73 3a 61 72 | 69 73 2e 70 72 65 66 73 |ences:ar|is.prefs|
|00005da0| 22 20 69 6e 74 6f 20 66 | 69 6c 65 4e 61 6d 65 0d |" into f|ileName.|
|00005db0| 6f 70 65 6e 20 66 69 6c | 65 20 66 69 6c 65 4e 61 |open fil|e fileNa|
|00005dc0| 6d 65 0d 77 72 69 74 65 | 20 74 68 65 44 61 74 61 |me.write| theData|
|00005dd0| 20 74 6f 20 66 69 6c 65 | 20 66 69 6c 65 4e 61 6d | to file| fileNam|
|00005de0| 65 0d 63 6c 6f 73 65 20 | 66 69 6c 65 20 66 69 6c |e.close |file fil|
|00005df0| 65 4e 61 6d 65 0d 65 6e | 64 20 77 72 69 74 65 50 |eName.en|d writeP|
|00005e00| 72 65 66 73 0d 2d 2d a5 | ca 43 68 65 63 6b 20 42 |refs.--.|.Check B|
|00005e10| 69 74 20 44 65 70 74 68 | 0d 6f 6e 20 43 68 65 63 |it Depth|.on Chec|
|00005e20| 6b 42 69 74 44 65 70 74 | 68 0d 67 6c 6f 62 61 6c |kBitDept|h.global|
|00005e30| 20 70 44 65 70 74 68 2c | 20 70 53 69 7a 65 0d 69 | pDepth,| pSize.i|
|00005e40| 66 20 6c 61 73 74 20 69 | 74 65 6d 20 6f 66 20 73 |f last i|tem of s|
|00005e50| 63 72 65 65 6e 49 6e 66 | 6f 28 4d 41 49 4e 29 20 |creenInf|o(MAIN) |
|00005e60| 3c 20 34 30 30 20 74 68 | 65 6e 20 2d 2d 20 4c 43 |< 400 th|en -- LC|
|00005e70| 0d 69 66 20 70 53 69 7a | 65 20 3d 20 65 6d 70 74 |.if pSiz|e = empt|
|00005e80| 79 20 74 68 65 6e 0d 70 | 75 74 20 22 38 20 42 69 |y then.p|ut "8 Bi|
|00005e90| 74 20 4c 43 22 20 69 6e | 74 6f 20 70 44 65 70 74 |t LC" in|to pDept|
|00005ea0| 68 0d 65 6c 73 65 20 70 | 75 74 20 22 38 20 42 69 |h.else p|ut "8 Bi|
|00005eb0| 74 22 20 69 6e 74 6f 20 | 70 44 65 70 74 68 0d 65 |t" into |pDepth.e|
|00005ec0| 78 69 74 20 63 68 65 63 | 6b 42 69 74 44 65 70 74 |xit chec|kBitDept|
|00005ed0| 68 0d 65 6e 64 20 69 66 | 0d 69 66 20 28 77 6f 72 |h.end if|.if (wor|
|00005ee0| 64 20 31 20 6f 66 20 73 | 63 72 65 65 6e 49 6e 66 |d 1 of s|creenInf|
|00005ef0| 6f 28 4d 41 49 4e 29 29 | 20 3e 20 32 35 36 20 74 |o(MAIN))| > 256 t|
|00005f00| 68 65 6e 0d 69 66 20 70 | 53 69 7a 65 20 3d 20 65 |hen.if p|Size = e|
|00005f10| 6d 70 74 79 20 74 68 65 | 6e 0d 70 75 74 20 22 32 |mpty the|n.put "2|
|00005f20| 34 20 42 69 74 22 20 69 | 6e 74 6f 20 70 44 65 70 |4 Bit" i|nto pDep|
|00005f30| 74 68 0d 65 6c 73 65 20 | 70 75 74 20 22 38 20 42 |th.else |put "8 B|
|00005f40| 69 74 22 20 69 6e 74 6f | 20 70 44 65 70 74 68 0d |it" into| pDepth.|
|00005f50| 65 6c 73 65 20 69 66 20 | 28 77 6f 72 64 20 31 20 |else if |(word 1 |
|00005f60| 6f 66 20 73 63 72 65 65 | 6e 49 6e 66 6f 28 4d 41 |of scree|nInfo(MA|
|00005f70| 49 4e 29 29 20 3d 20 32 | 35 36 20 74 68 65 6e 20 |IN)) = 2|56 then |
|00005f80| 70 75 74 20 22 38 20 42 | 69 74 22 20 69 6e 74 6f |put "8 B|it" into|
|00005f90| 20 70 44 65 70 74 68 0d | 65 6c 73 65 20 69 66 20 | pDepth.|else if |
|00005fa0| 28 77 6f 72 64 20 31 20 | 6f 66 20 73 63 72 65 65 |(word 1 |of scree|
|00005fb0| 6e 49 6e 66 6f 28 4d 41 | 49 4e 29 29 20 3c 20 32 |nInfo(MA|IN)) < 2|
|00005fc0| 35 36 20 74 68 65 6e 20 | 70 75 74 41 6c 65 72 74 |56 then |putAlert|
|00005fd0| 20 22 22 2c 31 30 33 0d | 65 6e 64 20 43 68 65 63 | "",103.|end Chec|
|00005fe0| 6b 42 69 74 44 65 70 74 | 68 0d 2d 2d a5 ca 46 75 |kBitDept|h.--..Fu|
|00005ff0| 6e 63 74 69 6f 6e 73 0d | 66 75 6e 63 74 69 6f 6e |nctions.|function|
|00006000| 20 50 49 43 54 73 69 7a | 65 0d 67 6c 6f 62 61 6c | PICTsiz|e.global|
|00006010| 20 70 53 69 7a 65 0d 69 | 66 20 70 53 69 7a 65 20 | pSize.i|f pSize |
|00006020| 3d 20 65 6d 70 74 79 20 | 74 68 65 6e 20 70 75 74 |= empty |then put|
|00006030| 20 22 20 28 73 6d 61 6c | 6c 29 22 20 69 6e 74 6f | " (smal|l)" into|
|00006040| 20 70 53 69 7a 65 0d 72 | 65 74 75 72 6e 20 70 53 | pSize.r|eturn pS|
|00006050| 69 7a 65 0d 65 6e 64 20 | 50 49 43 54 73 69 7a 65 |ize.end |PICTsize|
|00006060| 0d 0d 66 75 6e 63 74 69 | 6f 6e 20 6c 6f 63 61 74 |..functi|on locat|
|00006070| 65 46 20 78 0d 67 6c 6f | 62 61 6c 20 61 6c 74 50 |eF x.glo|bal altP|
|00006080| 61 74 68 0d 69 66 20 61 | 6c 74 50 61 74 68 20 3d |ath.if a|ltPath =|
|00006090| 20 65 6d 70 74 79 20 74 | 68 65 6e 20 6c 69 73 74 | empty t|hen list|
|000060a0| 44 69 72 0d 72 65 74 75 | 72 6e 20 61 6c 74 50 61 |Dir.retu|rn altPa|
|000060b0| 74 68 0d 65 6e 64 20 6c | 6f 63 61 74 65 46 0d 0d |th.end l|ocateF..|
|000060c0| 6f 6e 20 6c 69 73 74 44 | 69 72 0d 67 6c 6f 62 61 |on listD|ir.globa|
|000060d0| 6c 20 75 73 65 41 6c 74 | 50 61 74 68 2c 20 61 6c |l useAlt|Path, al|
|000060e0| 74 50 61 74 68 2c 20 70 | 44 65 70 74 68 2c 20 70 |tPath, p|Depth, p|
|000060f0| 4c 69 73 74 0d 69 66 20 | 75 73 65 41 6c 74 50 61 |List.if |useAltPa|
|00006100| 74 68 20 ad 20 54 52 55 | 45 20 74 68 65 6e 0d 2d |th . TRU|E then.-|
|00006110| 2d 20 43 68 65 63 6b 20 | 6c 6f 63 61 6c 20 70 61 |- Check |local pa|
|00006120| 74 68 20 74 6f 20 73 65 | 65 20 69 66 20 77 65 27 |th to se|e if we'|
|00006130| 72 65 20 69 6e 20 6f 75 | 72 20 6f 77 6e 20 64 69 |re in ou|r own di|
|00006140| 72 65 63 74 6f 72 79 0d | 67 65 74 20 74 68 65 20 |rectory.|get the |
|00006150| 76 61 6c 75 65 20 6f 66 | 20 77 6f 72 64 20 32 20 |value of| word 2 |
|00006160| 6f 66 20 74 68 65 20 6c | 6f 6e 67 20 6e 61 6d 65 |of the l|ong name|
|00006170| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 0d 64 | of this| stack.d|
|00006180| 65 6c 65 74 65 20 63 68 | 61 72 20 28 6c 65 6e 67 |elete ch|ar (leng|
|00006190| 74 68 20 6f 66 20 69 74 | 20 2d 20 6c 65 6e 67 74 |th of it| - lengt|
|000061a0| 68 20 6f 66 20 73 68 6f | 72 74 20 6e 61 6d 65 20 |h of sho|rt name |
|000061b0| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 29 2b 31 |of this |stack)+1|
|000061c0| 20 c2 0d 74 6f 20 28 4c | 65 6e 67 74 68 20 6f 66 | ..to (L|ength of|
|000061d0| 20 69 74 29 20 6f 66 20 | 69 74 0d 70 75 74 20 69 | it) of |it.put i|
|000061e0| 74 20 69 6e 74 6f 20 63 | 68 65 63 6b 50 61 74 68 |t into c|heckPath|
|000061f0| 0d 69 66 20 22 61 72 69 | 73 2e 64 61 74 61 22 20 |.if "ari|s.data" |
|00006200| 69 73 20 69 6e 20 46 6f | 6c 64 65 72 43 6f 6e 74 |is in Fo|lderCont|
|00006210| 65 6e 74 73 28 63 68 65 | 63 6b 50 61 74 68 20 26 |ents(che|ckPath &|
|00006220| 20 22 44 61 74 61 22 2c | 20 22 46 69 6c 65 73 22 | "Data",| "Files"|
|00006230| 2c 22 6e 6f 44 69 61 6c | 6f 67 22 29 20 74 68 65 |,"noDial|og") the|
|00006240| 6e 0d 70 75 74 20 63 68 | 65 63 6b 50 61 74 68 20 |n.put ch|eckPath |
|00006250| 69 6e 74 6f 20 61 6c 74 | 50 61 74 68 0d 70 75 74 |into alt|Path.put|
|00006260| 20 47 65 74 44 69 72 28 | 63 68 65 63 6b 50 61 74 | GetDir(|checkPat|
|00006270| 68 20 26 20 70 44 65 70 | 74 68 2c 22 46 22 2c 22 |h & pDep|th,"F","|
|00006280| 74 3d 50 49 43 54 22 2c | 22 6f 3d 6e 22 29 20 69 |t=PICT",|"o=n") i|
|00006290| 6e 74 6f 20 70 4c 69 73 | 74 0d 70 75 74 20 43 68 |nto pLis|t.put Ch|
|000062a0| 61 6e 67 65 53 74 72 28 | 70 4c 69 73 74 2c 22 5b |angeStr(|pList,"[|
|000062b0| 34 34 5d 22 2c 22 2c 22 | 2c 22 61 6c 6c 22 29 20 |44]",","|,"all") |
|000062c0| 69 6e 74 6f 20 70 4c 69 | 73 74 0d 65 78 69 74 20 |into pLi|st.exit |
|000062d0| 6c 69 73 74 44 69 72 0d | 65 6e 64 20 69 66 0d 2d |listDir.|end if.-|
|000062e0| 2d 20 63 68 65 63 6b 20 | 6f 74 68 65 72 20 53 43 |- check |other SC|
|000062f0| 53 49 20 64 72 69 76 65 | 73 20 66 6f 72 20 43 44 |SI drive|s for CD|
|00006300| 2d 52 4f 4d 73 0d 67 65 | 74 20 6c 69 6e 65 20 31 |-ROMs.ge|t line 1|
|00006310| 20 6f 66 20 63 64 44 72 | 69 76 65 4c 69 73 74 28 | of cdDr|iveList(|
|00006320| 22 6e 6f 44 69 61 6c 6f | 67 22 29 0d 69 66 20 22 |"noDialo|g").if "|
|00006330| 45 72 72 6f 72 22 20 69 | 73 20 6e 6f 74 20 69 6e |Error" i|s not in|
|00006340| 20 69 74 20 74 68 65 6e | 0d 72 65 70 65 61 74 20 | it then|.repeat |
|00006350| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 74 68 |with i =| 1 to th|
|00006360| 65 20 6e 75 6d 62 65 72 | 20 6f 66 20 69 74 65 6d |e number| of item|
|00006370| 73 20 6f 66 20 69 74 0d | 70 75 74 20 53 43 53 49 |s of it.|put SCSI|
|00006380| 49 44 54 6f 4e 61 6d 65 | 28 69 74 65 6d 20 69 20 |IDToName|(item i |
|00006390| 6f 66 20 69 74 29 20 69 | 6e 74 6f 20 53 43 53 49 |of it) i|nto SCSI|
|000063a0| 50 61 74 68 0d 69 66 20 | 69 74 20 ad 20 65 6d 70 |Path.if |it . emp|
|000063b0| 74 79 20 74 68 65 6e 0d | 69 66 20 22 61 72 69 73 |ty then.|if "aris|
|000063c0| 2e 64 61 74 61 22 20 69 | 73 20 69 6e 20 46 6f 6c |.data" i|s in Fol|
|000063d0| 64 65 72 43 6f 6e 74 65 | 6e 74 73 28 53 43 53 49 |derConte|nts(SCSI|
|000063e0| 50 61 74 68 20 26 20 22 | 44 61 74 61 3a 22 2c 20 |Path & "|Data:", |
|000063f0| 22 46 69 6c 65 73 22 2c | 22 6e 6f 44 69 61 6c 6f |"Files",|"noDialo|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.